Rootmotion in UE5 not gouing in straight line

nothing
Mon, 02 May 2022 02:52:58 +0000
Character & Animation

Hi, friends. During my development today i met with Very strange problem that i can’t figure out myself. (i think it’s ue5 unknown bug or something like that)
Let me explain problem from the beginning.
Here i have ladder:

it is procedural and there is nothing special about it. Don’t mind curve it dosen’t affect mesh positions because sections are generated in classic way:

curve is used for it’s function “Find Input key closest to world location”.
I also made some code to start climbing that ladder. In that code i transfer character movement mode to flying. And some animations + animbp setup.
Here it is inside:

and

As you see from the screens i used rootmotion to move my character along the ladder’s surface.
Inside of the climbing mechanic i also have code that rotates character along ladder.
And system works very well. As i expected.

But. If i climb along ladder on very high length see what happens:

Pay attention for this corner:

And here, after few steps:

Somehow, with rootmotion bug i think, character moves into bottom-left corner.
Ladder rotation is this:

For the ladder animation i use Auto Rig Pro addon and this setup in the Blender 3:

Root bone has this transforms:

and

Root bone interpolation is Linear. Hands, pelvis and legs ik interpolation are linear.

I almost 100% sure it’s not Blender’s but, it’s ue5 bug.
I have some ideas about fixing this problem using Tick. But anyway decided to report it here. Maybe some of you solved something like this before? Any Suggestions?

5 posts - 1 participant