So I have a car I'm working on. It has suspenion and all that and I'm propelling it with body thrust and turning it with body angular velocity. My problem is that the car drifts a lot when turning. Hers a GIF: https://gyazo.com/7443aaffe0735d94207e8a84c86c05d2. So in my script this is what used to control the car:
local Speed = Chassis.Velocity.Magnitude BodyThrust.Force = Vector3.new(0,0,Power * Movement.Y - (Drag * Speed * Movement.Y)) BodyAngleVelocity.AngularVelocity = Vector3.new(0,Movement.X,0)
The Movement.Y is the throttle and the Drag and Power are constants. I found this dev forum post(https://devforum.roblox.com/t/bodyforce-causes-my-car-to-drift/137524/2) about it with a guy saying to use centripetal force to make it not drift. He gave this eqaution: CentripetalForce = mass * linearVelocity * angularVelocity
So theres a few things I have questions about with this. First off I don't understand what the linear velocity is or how to get it. The person described it as being the velocity of the lookVector so I assume it is a Vector but I don't know. I also am not sure if angularVelocity is a vector or the Y part of the angular velocity. And finnaly I don't know how to apply the centripitalforce to the my bodythrust.
This seems complex to the other questions I usually see on this site so any help would be appreciated.