i have a model for some arms, my modeler saved some time and annoyance by compacting all the animations into one continuous one, and telling me which frame were responsible for which animations
so essentially, is there some way to, say, call an animation to play from frames 32 to 60 after pressing the G key, hold the model, then animate frames 60 to 90 after pressing it again? hell i don’t even need full code or anything, just a pointer as to what functions might be handy
you set the time on the animation clip to 1.333, add an animation event which fires a function that stops the animation to 1.7777 and play it.
alternatively: you go to the model importer, add a new animation sequence and specify the frames you want to play in that animation and just use it happily (much easier and you see visually what you setup and can easy remember and change it)
oo, interesting, i was not aware this was possible
and calling animations by name probably saves a lot of annoyance with timing as well
thanks bro, i will EXPERIMENT
I imported fbx with animations, then manually added animation ranges in the import dialog
(see in the link, those idle, run etc… press that + button, set ranges…)
Then with script can play those anims:
animation.Play(“walk”);
OH WAIT
wow i am retarded
i just had to click open on the model section within the inspector pane for the model
and BLAMMO! fbx importer, with animation frames!