Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What is a track animation's parent?

Asked by 4 years ago

Does anyone know where a track animation goes when it is loaded in, or what it's parent is? When I run my animation in a test server I look at the humanoid's children and all I see is Animator.

3 answers

Log in to vote
0
Answered by 4 years ago

This should be able to answer your questions https://developer.roblox.com/en-us/api-reference/class/AnimationTrack

Ad
Log in to vote
0
Answered by 4 years ago

You would usually put it in a player's model, if it's able to be animated (with the animator instance)

Log in to vote
0
Answered by 4 years ago

The AnimationTrack instance will exist in memory only, with Parent of nil. These are not parented to the datamodel, all the replication is handled by the Animator instance. Animation instances can be parented to pretty much anything, they are basically just value objects for the animation assetIds. You can create them with Instance.new() and leave them with nil parent also.

Answer this question