Why can't this rig walk correctly

I’m trying to improve my skills for rigging, but when trying to make a goomba (from the Super Mario game) and animate and rig it, it just can’t walk normally. This has happened to me many times when trying to make rigs, where it plays the animation but it just won’t walk normally. Here is a video:


This is the script I’m using, although I’m sure it’s unrelated to the issue.

local Humanoid = script.Parent.Humanoid
local Animator = Humanoid.Animator
local Animation = Instance.new("Animation", Animator) -- oh no its a memory leak cry about it

Animation.AnimationId = "rbxassetid://80899697012959"

local AnimationTrack = Animator:LoadAnimation(Animation)

while true do
	AnimationTrack:Play()
	task.wait(3)
	AnimationTrack:Stop()
	task.wait(3)
end

Any input is greatly appreciated.

Well the first thing you should double check is your rigging, make sure everything is named correctly and you’re using proper welds and motor 6ds

Then check the hip height, i had an issue with my rig where it was doing some weird stuff and its because the hip height was off, so it thought it was shorter/taller than it was.

Finally, check the humanoid root part and make sure the “front” of the humanoid root part is facing WITH the rig. U can check the sides by putting a decal on the front of the humanoid root part, then deleting it after you see which side needs to be facing forward.

Hope this helps :slight_smile:

Hi, thanks for your reply. Do you know a way how I can accurately measure the hip height?

Yeah, just get a part and put it next to your rig. You can experiment with estimating where his hips would be, or just doing his whole body or half of it. Then, you get the height of the part by going to the size property and using the Y value.