Root Part moving during animation

I’m working on this walk dust effect. The problem I’m having is that when I slide, the attachment rises. It doesn’t make sense to me because it appears, if anything, it should move down or in front of the player. Is it something with the animation or is there another way around this?


What’s the rootPart? Is it the characters PrimaryPart (HumanoidRootPart) or something else?

if the rootPart is a piece of your character, then of course the position will change when your character moves. You could possibly use humanoid.hipHeight to calculate where the dust should be to get this to work as expected

local rootPart=character:FindFirstChild("HumanoidRootPart")

So then what do I parent the attachment to? I know the rootpart will move with the character but it has no reason to be moving up. The animation doesn’t change the position of the root part but when I run the animation in game the rootpart moves up by about one and a half studs then goes back down.

You could attach the dust to the player’s foot instead of the humanoid root part, and if the player does not have a foot, default back to the humanoid root part.

1 Like

Never had this issue, it’s possible it could be caused from worldposition setting. Try this instead


I just move the attachment to the lower torso during the slide so it looks as it should.

1 Like