Home > other >  Animator control, through the animation to do mobile effect, playback but how to do?
Animator control, through the animation to do mobile effect, playback but how to do?

Time:09-21

I want to move through the Animator control to make their own effects,
For example, the user triggers an event, I SetTrigger play one, after the destination (that is, the Animation of the presentation), stay for a period of time, began to return to again, I want to do through playback, do less to write less code or secondary Animation, what method can solve?

CodePudding user response:

This are not ripe,
Play an animation, then automatically return to the default state (e.g., standing), and then invoke the delay?

CodePudding user response:

Are there any other better way?

CodePudding user response:

Animator these displacement of skinned mesh animation don't to do animation
You can use the animation to play characters walking or doing other various special action, but displacement rotary these through code to control

CodePudding user response:

Playback with ctrip, set parameters, float speed
Need to playback Animator. Setfloat (" speed ", 1);
Remember back is

CodePudding user response:

Speed=1 is ok, but must be flash after to playback
  • Related