Hello
You use to do code:
cachedTransform.localPosition = new Vector3(bone.x, bone.y, 0);
but now you do
cachedTransform.localPosition = new Vector3(bone.ax, bone.ay, 0);
what is this fancy variable?
We use to manually set bone.x = 0;
when we where rootmotion-ing, setting bone.ax
to 0 makes the character move twice as much than normal rootmotion.
our old code in skeletonutilitybone
if (!m_DisablePositionChange)
cachedTransform.localPosition = new Vector3(bone.x, bone.y, 0);
else
{
bone.x = 0;
bone.y = 0;
}