DAShoe1 / Godot-Easy-Vehicle-Physics

A ray cast based vehicle for Godot 4.0
MIT License
112 stars 6 forks source link

Vehicle dynamics #3

Closed PhilNikitin closed 6 months ago

PhilNikitin commented 6 months ago

Hello! Great project!

Can you please help me with parameter tweaking? I am using your drift car preset and trying to make car more dynamic (much faster 0-100mph) and at the same time add more inertia, so car can make 360 and drift longer. Which parameters should I look at first?

DAShoe1 commented 6 months ago

Increasing the longitudinal grip ratio is probably what you want. This value determines how much grip the tires have for accelerating and braking. Max Torque determines engine power if you find the car can't spin the tires enough after increasing the grip. For doing 360s you will need to adjust 'Stability Yaw Strength'. This setting applies a force to the car to keep it from rotating too much, essentially making it difficult to spin out. I find the default value makes it easy to hold an angle on the keyboard but setting it to zero should make it pretty easy to do 360s.

PhilNikitin commented 6 months ago

Thank you!