anachronox-sdk/docs/planet/26.html

51 lines
1 KiB
HTML
Raw Permalink Normal View History

2002-01-21 00:00:00 +00:00
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE>Anachronox Editing Documentation</TITLE>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#EFEFEF" LINK="#00FFFF" ALINK="#FFFFFF" VLINK="#05F3D0">
<CENTER>
<P>
<FONT FACE="Helvetica">
<FONT COLOR="#0055DD"><B>Tutorial 26: Rotating entities</B>
</FONT>
</CENTER>
<P>
<HR>
<BR>
ROTV= [x,y,z]<BR>
ROTA= [x,y,z]<BR>
ROTCLEAR
<P>
Used extensively in Mystech Scripts. Rotates entites in x,y,z values. Rota accelerates them over time.
<P>
Newscript<BR>
Put ob_automap on a node
<P>
At 2.0 put a cmd node<BR>
Rotv=50,0,0
<P>
Play script, change node to<BR>
Rotv=10,300,-100
<P>
Play this. Change to read<BR>
Rota=10,0,0
<P>
Watch this over time. Gets crazy!
<P>
At 8.0 put a cmd node<BR>
Rota=-30,0,0
<P>
Play this. This will counter the other rotation.
<P>
At 10.0 put a cmd node<BR>
Rotclear
<P>
Play this. Did it snap to a stop? Try adjusting the nodes over time and/or adjust the values so it doesn<73>t snap.
<P>
<P>&nbsp;<P>
</BODY>
</HTML>