Steer Local Rotation changes original rotation after preview

Forums 💬 Slate Sequencer ⚙️ Support Steer Local Rotation changes original rotation after preview

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20873
    b4th
    Participant

      If an Animator clip has a Steer Local Rotation value that is not zero, then when the cutscene is previewed, and the preview is stopped, the character will have a rotation that is a multiple of 360-degrees above or below its original value. If this value keeps increasing/decreasing, I presume this could cause problems of floating-point accuracy.

      #20877
      Gavalakis
      Keymaster

        Hey,
        Thanks for the report. To fix this please open up PlayAnimatorClip.cs and change the OnReverse() method to be like this:

        Thanks 🙂

        #20876
        b4th
        Participant

          No worries, thanks for the patch!

          On an unrelated note… is there any chance you can change the code formatting on these forums? On Chrome, hovering the mouse over a code area causes it to flicker and resist selection. On Edge, hovering the mouse causes code to disappear completely.

          #20875
          Gavalakis
          Keymaster

            I just fixed the code formatting 🙂
            Thanks.

            #20874
            b4th
            Participant

              Awesome, thanks!

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.