PDA

View Full Version : Animation using maxscript


solar_system2006
04-06-2006, 08:33 PM
I created an animation of many objects using maxscript( using pathConstraint ), and each object finishes its animation at a different frame( from 0 - 1000 )..

first, how can I readjust the number of frames from 100 to 1000 using maxscript
second, can I restart the animation of one object when it reaches its end frame without affecting the completion of the other object's animations? and how can I retrieve the key number the animated object has reached during its animation?

I really need help with this, I looked in the docs and the internet, but I couldnt find a solution. please help!

Thank you

solar_system2006
04-08-2006, 04:07 PM
no one has an idea about this? is it even doable???

f97ao
04-12-2006, 10:16 AM
no one has an idea about this? is it even doable???

To stretch the time from 100 to 1000 it would make sense to reposition the keyframes. I know you can get access to the keyframes (lookup keyframes in the MaxScript help).

I haven't done much animation in maxScript yet, but plan to look at it more in the future.
/Andreas

solar_system2006
04-12-2006, 01:27 PM
hey..

actually I assigned my object keys from 0 to 1000 but no changes appeared when the animation is running, it still runs from 0 to 100, am i going wrong somewhere?

Ratzlaff
04-12-2006, 05:57 PM
animationRange = interval 0 1000

the variable currentTime holds the current frame when scripting

I'm not entirely sure what you are asking when you say:
can I restart the animation of one object when it reaches its end frame without affecting the completion of the other object's animations

solar_system2006
04-13-2006, 02:49 PM
nevermind Ratzlaff, I figured out a way to do what I want. but if you interested, lets say that I assigned the animation keys to all my objects, and each object finishes its animation on a unique key( lets say one at 71, another at 100, and the last one is 500), so instead of making the object with frames(0 to 71) stop at 71 and wait till object with (0 to 500) finish its animation, I want it to simply repeat its animation... any idea? it might be better than mine...

Thanx for you reply..

CGTalk Moderation
04-13-2006, 02:49 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.