Why is my bone rotation flipping / being clamped?

digiggle_Ben
Mon, 31 Oct 2022 15:16:56 +0000
Character & Animation

I am pretty new to Unreal and I’ve come up against an issue that I am struggling to resolve.

I am trying to modify the rotation of a bone in the AnimGraph, and it works as expected to a point. The problem I’m having is that once the bone has rotated past a certain (seemingly arbitrary) threshold it will “flip” unexpectedly.

https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/9/5797bd257eac049e617b7cdeb1d2fd17c0bb8d94.mp4

I’m modifying the bone using a Transform (Modify) Bone node, creating an FRotator using input from an axis (the input is unclamped):

Interestingly, if I modify the rotation manually in the transform details panel, it will rotate smoothly and infinitely without ever flipping. However as soon as I rotate using either the gizmo or by piping a value into the anim graph the flipping issue appears. It’s as if the bone rotation is being clamped automatically without me ever asking it to, and I can’t find a way to bypass this behaviour.

4 posts - 3 participants