Tutorial 26: Rotating entities



ROTV= [x,y,z]
ROTA= [x,y,z]
ROTCLEAR

Used extensively in Mystech Scripts. Rotates entites in x,y,z values. Rota accelerates them over time.

Newscript
Put ob_automap on a node

At 2.0 put a cmd node
Rotv=50,0,0

Play script, change node to
Rotv=10,300,-100

Play this. Change to read
Rota=10,0,0

Watch this over time. Gets crazy!

At 8.0 put a cmd node
Rota=-30,0,0

Play this. This will counter the other rotation.

At 10.0 put a cmd node
Rotclear

Play this. Did it snap to a stop? Try adjusting the nodes over time and/or adjust the values so it doesn’t snap.