Boat motor to player

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!
    Hello. Am trying to make the character on top of the boat using motors. But everytime it just turns around. I made it so if you click a button it makes a boat inside the player and a motor inside the boat.
  2. What is the issue? Include screenshots / videos if possible!
    It keeps turning around

local character = player.Character
local humanoid = character:WaitForChild(“Humanoid”)

local boatAnim = humanoid:WaitForChild("Boat")
local boatAnimTrack = humanoid.Animator:LoadAnimation(boatAnim)
local walkAnim = character.Animate:WaitForChild("Walk")
local walkAnimTrack = humanoid.Animator:LoadAnimation(walkAnim)
local NewBoat = game.ReplicatedStorage.Boat:Clone()
NewBoat.Parent = player.Character
local Motor6D ="Motor6D")
Motor6D.Parent = player.Character.Boat
Motor6D.Part0 = player.Character.RightLeg
Motor6D.Part1 = player.Character.Boat



  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    youtube and Devfourm but nothing.

“It keeps turning around”
Do you mean:
It spins uncontrollably?
The boat positions itself in reverse to what’s expected?
The animation causes the boat to flip?

Some possible fixes:
Are all the boats parts cancollide and anchored properties set to false?
Did you animate it to be backwards by mistake?
Set network ownership of all the boats part to the player it’s being motor6D’d to
Try messing with the Motor6D’s C1 and C0 properties to reposition the boat

its doesn’t turn the way I want it to. I tried rotating the part and nothing happens.

Use code to rotate the C0 and C1 property of the motor to position the boat

motor6d.C0 = * CFrame.Angles(math.rad(180),0,0) --Should flip the boat 180 degrees on the x axis

Did it not rotate the boat at all, or did it just rotate in the wrong direction, I can’t see from your original screenshot how it was rotated wrong.

didn’t rotate at all. am trying to make it look like Hes riding the boat so like he looks at the front. but it makes the boat turn like that.

why my boy freddy is in a boat.
Anyways, you should try attaching the motor Part0 to the HumanoidRootPart and setting the C0 to something like,-3,0) -- this makes it under the character. Tell me if its still offset weird, and ill add more stuff

Here’s what I want you to try:

Run the game
Get in the boat
Copy your players character
Stop the game
Paste in the players character that you just copied
Animate the new model which will be your character with the boat motor’d to it
Animate the boat and the character as one model; position the boat correctly in the animation.

Try setting the C0 to,-3,0) * CFrame.Angles(math.pi/2,math.pi/2,0)

its good but puts the boat upsidedown

Reverse the first “math.pi/2” by putting - infront of it so its -math.pi/2

CFrame torture

am confused. Inside the script?

Just replace it with,-3,0) * CFrame.Angles(-math.pi/2, math.pi/2)
cframes are painful sometimes, i should of just said this earlier

ITS WORKS! thank you. Now i need help with something eles. how would i make the animation play until the player gets off the boat.

can you show the code of where the play does get off the boat? you should probably give my post a solution as well so no more people give replies

Have you looped the animation in the animator plugin?

I will start a new topic. check your notifications.