Start an animation from the middle?

Heyaa! Thank you for reading.

I just wanna know if its possible to start an animation track from certain keyframe or time position of the animation?
Lets say my animation has 60 frames, and I want to execute the animation from the frame 30.
I already readed the documentation about functions, events etc of the animation track… but I cant find a clear way to accomplish it. Any way?
Thank you :3

1 Like

I think you should check out the TimePosition property of an animation track because of its ability to do this:

Can be set to make the track jump to a specific moment in the animation

however, I think an issue will be the [notreplicated] tag that will have to be worked out somehow. So, I guess try it out?

4 Likes

Yeah! Well I already check that out… the problem is:
Using TimePosition
“As TimePosition can not be used when an AnimationTrack is not playing, the functions check to make sure the animation is playing before proceeding.”

So theres no way to literally Start the animation from certain point, I need to play it, then use an event and make it jump, right?

1 Like

Yeah seems like that is the only option, using the freeze animation code example to jump at that point.

Unless someone else suggest a manual method of reading CFrame data within a keyframes.

3 Likes

Maybe Im just complicating the things again… If that seems the only option, then freeze animations and jump to position yeah…

I just wonder if the object “Keyframe” created when an animation is created, is useful for something else than just load the animation correctly into the animation editor?..

A way to use those object thru somekind of controller and being able to script their behaviour?.. anyway, again Im just complcating stuff.
Thank you for ur answer!

Lol I keep seeing your name time and time again. Thank you for all your contributions to the roblox community.

1 Like