Notifications
Clear all

[Closed] Animation using maxscript

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

5 Replies

no one has an idea about this? is it even doable???

1 Reply
(@f97ao)
Joined: 11 months ago

Posts: 0

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

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?

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

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…