Here is a video of it if you need a script I will send you the snippet of it turning.
Can’t really help you without any code.
Ok here you go:
script.Spin.OnServerEvent:Connect(function(player, turn)
script.Parent.Parent.Body.CFrame = script.Parent.Parent.Body.CFrame * CFrame.Angles(0, math.rad(turn), 0)
wait(0.1)
end)
The car uses a hinge for the wheels
Based on the code you provided, the rotation is being applied directly to the body of the car, but this doesn’t account for the physical constraints of the wheels. I would recommend looking up a tutorial on how to build a basic car with constraints., because if I recall correctly, there are already built-in physics for vehicles like this.
Try the Building Support forum, otherwise:
- Make sure the hinges for the wheels are correctly set up and attached to the car body. The hinges should allow the wheels to rotate but not detach from the car.
- Check the physical properties (e.g., mass, friction) of the car body and wheels.
- Instead of directly modifying the
CFrame
, apply forces or torques to achieve the turn.