slimatron
10-15-2005, 07:34 PM
I am having trouble setting up reaction controllers in max
Specifically in passing reactions states to rotation reactor controllers.
With a position reactor, I can do the following...
setReactionState obj.position.controller 2 [0.0, 0.0, 10.0]
this would set the second reaction state to 10 in the z-axis
However, when I try similar code for rotation reactors, it dont work...
setReactionState obj.rotation.controller 2 [0.0, 0.0, 90.0]
The help files mention something about quaternions, but I haven't got a clue what they are or how I calculate them.
Anyone any ideas?
slimy
Specifically in passing reactions states to rotation reactor controllers.
With a position reactor, I can do the following...
setReactionState obj.position.controller 2 [0.0, 0.0, 10.0]
this would set the second reaction state to 10 in the z-axis
However, when I try similar code for rotation reactors, it dont work...
setReactionState obj.rotation.controller 2 [0.0, 0.0, 90.0]
The help files mention something about quaternions, but I haven't got a clue what they are or how I calculate them.
Anyone any ideas?
slimy
