Skip to main content
Discovery icon for VRChat Discord server

VRChat

90,065 Online
419,706 Members
# udon-general3 people

animator reverse animation

Reversing an animation directly in Unity's Animator isn't feasible; instead, create two separate animation clips (one for forward, one for reverse) and use an Animator Controller with a boolean parameter to switch between states.

  • The Unity Animator generally requires two separate animation clips to achieve a forward and reverse motion, rather than reversing a single animation programmatically.
  • For an object that rotates (like a bridge falling and rising), duplicate the existing animation clip and swap the start/end rotation values to create the reverse animation.
  • Control the animation playback by setting a boolean parameter in the Animator Controller via `Animator.SetBool(variable, value)` using an Udon script, which toggles between the 'fall' and 'rise' states/animations.
  • The Animator Controller uses states (which can be animations or idle states) and transitions between them based on parameters, allowing a button press to trigger different animations.
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App