Hi, My game needs a boat for the player to buy and then drive, I finished going forward and stopping but I'm using BodyAngularVelocity for the steering and the code is as following (using VehicleSeats):
local seat = script.Parent.VehicleSeat
seat.Changed:Connect(function(p)
-- forward/backward code goes here
--steering
if p == "Steer" then
if seat.Steer == 1 then
-- go right
script.Parent.PrimaryPart.BodyAngularVelocity.AngularVelocity = script.Parent.PrimaryPart.CFrame.RightVector
elseif seat.Steer == -1 then
--go left
script.Parent.PrimaryPart.BodyAngularVelocity.AngularVelocity =
-script.Parent.PrimaryPart.CFrame.RightVector
else
-- no steer
script.Parent.PrimaryPart.BodyAngularVelocity.AngularVelocity = Vector3.new(0,0,0)
end
end
end)
Are there any other ways that I could just rotate the boat to face it's RightVector and LeftVector (-RightVector)?

3 comments
May I ask? What does fromEulerAnglesXYZ() do?
Changes orientation/rotation I guess.
thanks