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

Tire mark mesh deletion and tangent calculation #32

Closed JustInvoke closed 6 years ago

JustInvoke commented 6 years ago

TireMarkCreate now calls RecalculateNormals and RecalculateTangents.

The MeshUtil class may be removed in a future update since it was only used for calculating tangents.

TireMark will destroy its mesh when the tire mark fades away.