Roblox animations library2/22/2024 If I store the tracks in the script that is destroyed with the change of morph, will destroyed tracks unload the animations? In other words does the Animator just keep a reference to ‘live’ animation tracks? Is there a way to ‘unload’ or ‘remove’ the animations that are loaded onto an Animator, when you no longer need them, as in my case when a morph is removed? So what happens is, I end up with animation tracks loaded from the Animator, that are not destroyed (or so I assume). Then a new morph model is parented to the character and it all happens again. When a different morph gets applied, the model with the current morph is deleted, also the local script that handles passing animations to the client animation player. OK, I have animation tracks, from Animator loaded animations, purely on the client. This script (client) sends the appropriate animations per the humanoid state to a client side animation player (not parented under the morph’s model, rather under the players character). Inside of the model is a local script, which has children animations. When they morph, the physical model of the morph on the server (so all clients can see it) is cloned and parented to the character. In my game, a player can morph into different creatures. I have always had some issues with understanding the fundamentals of playing animations, so excuse me if this is a very strange question.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |