PDA

View Full Version : MaxScript help


Whirloop
03-11-2003, 01:35 PM
Can anyone tell me how I can make an object move along a spline and with a sliderobject, controll the speed it's traveling?
I asume this is possible with Maxscript.

Thank you

BrandonD
03-11-2003, 04:16 PM
You could do it without MAXscript (per se). Create the spline and assign a PathConstraint to your object. When you assign the spline as the path it will create two keys for the object defining the percentage of motion along the spline - this is 0 to 100. If you move the last key forward in time, it will cause the object to travel slower and the opposite if you slide the key back in time (simple keyframing). You could also just leave the keys as they are, add a Multiplier curve and adjust that for the velocity.

Whirloop
03-11-2003, 07:24 PM
But I want an object to travel a certain amount of percent, each frame. Where the slider is controlling the amount of percent.
So if the slidervalue is set to 0.5%, the sphere will travel 0,5% of the spline each frame.

CGTalk Moderation
01-14-2006, 02:00 PM
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.