JustInvoke / Randomation-Vehicle-Physics

Vehicle physics system for the Unity engine.
https://justinvoke.com/game-assets/#randomation-vehicle-physics
864 stars 184 forks source link

Allow Customization of How Suspension Compression Affects Wheel Friction #4

Closed JustInvoke closed 7 years ago

JustInvoke commented 7 years ago

Currently, a wheel gains friction as its suspension is compressed, but this relationship is hard-coded into the ApplyFriction method of the Wheel script. This should be adjustable with a simple property in the inspector.

The default value of the new property should cause no changes to current vehicle behavior.