PDA

View Full Version : Radians>Degrees>"world" degrees?


tcastudios
05-11-2003, 12:30 AM
Hi.
I canīt find a way here. I need to rotate an object (Torus) and then via XPresso have it to drive the position in a AlignToSpline object. This way I can loop an object on that spline.
But. When the Torus goes into its second turn, its degrees exceeds 360°.
I need to have it "start over" again at 0° at every new turn so the AlignToSpline position repeats. (Getting the impression it continues or loop).

The goal is to have a thread (like a tankthread) move.

Regards
Lennart

Per-Anders
05-11-2003, 12:45 AM
use a rangemapper node, and set it to modulo, then it will forever loop between the output values.

tcastudios
05-11-2003, 12:56 AM
Thanks mdme_Sadie!
Now I can finaly go to sleep... itīs 2.15 in the morning here....

Regards
Lennart

CGTalk Moderation
01-15-2006, 02:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.