TLabVehiclePhysics
Open Source WheelCollider for Unity. This project implements a pacejka based tire logic.
Install / Use
/learn @TLabAltoh/TLabVehiclePhysicsREADME
TLabVehiclePhysics
Open Source WheelCollider for Unity. This project implements a pacejka based tire logic.
Screenshot
<img src="Media/overview.png" width="512" /> <details><summary>Pacejka and LUT Tool</summary> <table> <tr> <td><img src="Media/pacejka-tool.png" width="256" /></td> <td><img src="Media/lut-tool.png" width="256" /></td> </tr> </table> </details> <details><summary>Physical parameters for vehicle</summary> <table> <caption>Pacejka</caption> <tr> <td><img src="Media/pacejka-lateral.png" width="256" /></td> <td><img src="Media/pacejka-longitudinal.png" width="256" /></td> </tr> </table> <table> <caption>Downforce</caption> <tr> <td><img src="Media/multi-lut-downforce-front.png" width="256" /></td> <td><img src="Media/multi-lut-downforce-rear.png" width="256" /></td> </tr> </table> <table> <caption>Torque Curve</caption> <tr> <td><img src="Media/multi-lut-torque-curve.png" width="256" /></td> </tr> </table> </details>Approach to tire physics implementation
This project uses Pacejka and LUT (Look up table) for the minimum physics parameter unit. And most of the physics parameters are culculated as interprate 2 parameters (Pacejka, LUT) by additional float type parameters (slip angle, slip ratio, yaw of vehicle etc ...) in order to behave vehicle as more complex.
Getting Started
Prerequisites
- 2022.3.19f1
- Universal Rendering Pipeline (URP)
Installing
Clone the repository to any directory with the following command
git clone https://github.com/TLabAltoh/TLabVehiclePhysics.git
cd TLabVehiclePhysics
git submodule upadte --init
How to play
⇦ ⇨: Handle⇧: Accelerator⇩: BrakeQ: Shift UpE: Shift DownC: ClutchASDW: Camera RotationZ: Switch Camera (Pov/Follow)

