Mecanim "Hello, World"
I need to work out the easiest possible way to trigger oneshot animations with MecAnim. They never vary, they don't need blended, I don't need to fire off events when they start and stop, I'm already doing that with other code, and l don't want to have to control the animation with state variables.
I just want to 'play("suchandsuch")' and that's it. Seems like that would be the 'hello world' of mecanim use. Please, what is the easiest way to do this with MecAnim? Bonus if it can be done without ever drawing that goofy flowchart / statemachine.
Regrettably, I can not reimport the animation into legacy mode because it was originally made in Maya by another developer no longer on the project and I do not have that software.
Thanks in advance.
(PS - A suggestion to the mecanim developers: Add a script to unity that automates the generation of everything necessary to do what I'm trying to do. So you could click and 'generate basic-one-shot controller', etc, and that does everything correctly with mec-anim to allow the dis-interested end-user to simply 'play("theanim")'. Thanks)
Your answer
Follow this Question
Related Questions
Humanoid Animations 0 Answers
Where i should add some unusual animations in mecanim? 0 Answers
Mecanim Generic No movement 0 Answers
Mecanim Rotation Problem 1 Answer
How to make an Animation layer not set curve parameters? 0 Answers