Custom rig pointing in wrong direction

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    To get my custom rig (a horse) to look where it is going.
  2. What is the issue? Include screenshots / videos if possible!
    The horse always looks in the same direction
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried AutoRotate and removing my animations. Neither works.

I am making a player-ridable horse and want it’s Head/HumanoidRootPart to face in the direction where it is going (like Player’s Characters).

Currently, it moves while facing the original direction. Example: I am moving directly left here…

image

Here is the Explorer:

The Animate script also controls movement. It always follows an attachment inside the HumanoidRootPart.

local humanoid = script.Parent.Humanoid

local rootPart = script.Parent.HumanoidRootPart

local seat = script.Parent.VehicleSeat

local walk = humanoid:LoadAnimation(humanoid.WalkAnimation)

walk:Play()


local runService = game:GetService("RunService")

runService.Heartbeat:Connect(function()
	
	rootPart.MoveTo.Position = Vector3.new(seat.Steer * 5, 0, seat.Throttle * -5)
	
	humanoid:MoveTo(rootPart.MoveTo.WorldPosition)
	
end)

Have you tried making sure that all of the body part’s front surface faces the same direction.

1 Like

That seems to work… but now the horse is sideways. Do I need to re-rig it?

image

I re-rigged and re-animated it with some invisible parts welded to the visual horse. It now works!

1 Like