50 lines
1 KiB
HTML
50 lines
1 KiB
HTML
<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’t snap.
|
||
|
||
<P>
|
||
<P> <P>
|
||
</BODY>
|
||
</HTML>
|