Animation causing player to 'fly' around a pivot after being played

Hello everyone! I’m experiencing an odd issue with an animation I am playing on the player’s character where it seems to pivot around a point that is far away. Jumping makes the issue worse and causes the player to fly around. I will attach a video below and the code snippet that is running the animation.
Video: https://gyazo.com/792a50bc1da3aef1a831eb517dde35e4
Code:

local animationClass = Instance.new("Animation", player)
    animationClass.AnimationId = "rbxassetid://"..styleInfo.AnimationId
    local throwingAnimation = Humanoid:WaitForChild("Animator"):LoadAnimation(animationClass)
    throwingAnimation.Priority = Enum.AnimationPriority.Movement
    throwingAnimation:Play()
    
    task.spawn(function()
        task.wait(1.5)
        clonedBall:Destroy()
        task.wait(2.5)
        throwingAnimation:Stop()
        throwingAnimation:Destroy()
        player.Character:FindFirstChild("HumanoidRootPart").Anchored = false
    end)

And yes, I am anchoring the root part before playing the animation

1 Like

What exactly is this animation? This could be caused by the “ClonedBall” Instance, if the ball is welded too low it could cause you’re player to slide. You’re player is theoretically anchored, I believe this could be the way you animated it.

1 Like

It is an animation of a character bowling, just a pretty typical bowling approach. The cloned ball is a bowling ball with the size of 1.425, 1.425, 1.425 and is not anchored and collisions are disabled.

1 Like

I really got nothing to work with here with minimal information though, I’m assuming something to do with you’re root-part and I don’t know why it would do that.

1 Like