|
coastline 0.0.4
|
The physics of a car. More...
#include <carphysics.h>

Public Attributes | |
| f32 | gearRatios [CAR_GEAR_RATIOS] |
| f32 | torqueCurve [4] |
| f32 | finalDrive |
| s32 | gearCount |
| s32 | rearWheelDrive |
| Vec3f | boxSize |
| f32 | boxCenterZ |
| s32 | tableIndex |
The physics of a car.
| f32 CarPhysicsSpec::gearRatios[CAR_GEAR_RATIOS] |
The ratio of each gear, from 0 for neutral.
| f32 CarPhysicsSpec::torqueCurve[4] |
The torque of the engine as a cubic of its revolutions, the highest power first.
| f32 CarPhysicsSpec::finalDrive |
The ratio of the final drive.
| s32 CarPhysicsSpec::gearCount |
The number of forward gears.
| s32 CarPhysicsSpec::rearWheelDrive |
Whether the throttle drives the rear wheels alone, rather than all four.
| Vec3f CarPhysicsSpec::boxSize |
The size of the box the track collides with.
| f32 CarPhysicsSpec::boxCenterZ |
The height of the middle of the box.
| s32 CarPhysicsSpec::tableIndex |
The class of the car among the arcade times of each track.