Hi, I’ve a problem with the OnAnimatorMove() function. The function set the parent position and rotation but it does it jerky.
void OnAnimatorMove()
{
Animator animator = GetComponent<Animator>();
transform.parent.rotation = animator.rootRotation;
transform.parent.position += animator.deltaPosition;
}
And if I set this into the update loop, it makes a Bayblade spinning top. x)
(video) https://cdn.discordapp.com/attachments/793873256239071242/902864565929402398/Desktop_27-10-2021_12-20-42.mp4
How I am supposed to do to avoid this problem?