Go to the source code of this file.
◆ UpdatePhysicsStep()
| void UpdatePhysicsStep |
( |
Vehicle * | vehicle | ) |
|
Advance the player-controlled vehicle for one frame.
◆ SimulateVehiclePhysicsSubstep()
| void SimulateVehiclePhysicsSubstep |
( |
Vehicle * | vehicle | ) |
|
Advance spring, tyre, damping, and collision calculations for a vehicle.
◆ UpdateVehiclePhysicsFrame()
| void UpdateVehiclePhysicsFrame |
( |
Vehicle * | vehicle | ) |
|
Drive or fly a vehicle for a frame, then update its drawing transforms and cameras.
◆ UpdateVehicleEngineAndGearbox()
| void UpdateVehicleEngineAndGearbox |
( |
Vehicle * | vehicle | ) |
|
Update steering, engine torque, and gearbox selection.
◆ UpdateVehicleWheelTransforms()
| void UpdateVehicleWheelTransforms |
( |
Vehicle * | vehicle | ) |
|
Update wheel heights and rebuild their rigid-body orientation matrices.
- Parameters
-
| vehicle | The vehicle to update. |
- Ghidra address:
- BRD3D: 0x10061be0
- Ghidra address:
- BRGlide: 0x1005ac60
◆ TransformAllWheelMatrices()
| void TransformAllWheelMatrices |
( |
Vehicle * | vehicle | ) |
|
Transform the body and wheel matrices for drawing.