Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Playback mode and triggers

Discussion in 'Animation' started by 00christian00, Jul 31, 2019.

  1. 00christian00

    00christian00

    Joined:
    Jul 22, 2012
    Posts:
    1,035
    Hello @Mecanim-Dev, is the normal behaviour that when you have an active trigger in playback mode (Animator.StartPlayback) and resume the normal behaviour (Animator.StopPlayback) the transition gets triggered after 1 frame and not immediately?
     
  2. Mecanim-Dev

    Mecanim-Dev

    Joined:
    Nov 26, 2012
    Posts:
    1,675
    @00christian00 that a good question, I would say that depending when the call is made and in which animator update mode your animator is set can change the expected result.

    Your best bet would be to log a bug and we will investigate.

    I know that trigger can get tricky when you update your animator manually with 0 as delta time, the transition always occur on the next frame, but I have no idea if this apply to you
     
    00christian00 likes this.
  3. 00christian00

    00christian00

    Joined:
    Jul 22, 2012
    Posts:
    1,035
    Thanks I will!