Steer Local Rotation changes original rotation after preview

Slate Forums Support Steer Local Rotation changes original rotation after preview

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1169
    Breaking Fourth
    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.

    #1171
    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 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

    #1172
    Breaking Fourth
    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.

    #1176
    Gavalakis
    Keymaster

    I just fixed the code formatting 🙂
    Thanks.

    Join us on Discord: https://discord.gg/97q2Rjh

    #1177
    Breaking Fourth
    Participant

    Awesome, thanks!

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