Hi, I am trying to create a jetski/boat, and it is going well, but for some reason I am not able to rotate the handle without making the jetski fling, I read some post related to this issue but did not understand their solution, if there is a way to help me please comment
, here is my code:
local vehicleSeat = script.Parent
local jetskiride = vehicleSeat.Parent:waitForChild(āJetski rideā)
local weld = jetskiride:FindFirstChild(āJetski rideā)
local force = 20000
function updateForces()
vehicleSeat.F.Force = Vector3.new(force * -(vehicleSeat.Steer/20),0, force * vehicleSeat.Throttle)
weld.C1 = CFrame.Angles(math.rad(-15/vehicleSeat.Steer),math.rad(180),0):Inverse()
end
while wait() do
updateForces()
end

All of the parts of the jetski (body and handle) are welded to the vehicle seat with weld constraints (jetski ride is the handle)
