eulerjs API / @eulerjs/vehicle / WheelOptions
WheelOptions
Defined in: packages/vehicle/src/RaycastVehicle.ts:18
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
grip? | number | The most force the tyre takes along the ground, as a share of the load on it: about 1 on dry asphalt. Defaults to 1. | packages/vehicle/src/RaycastVehicle.ts:30 |
inertia? | number | With tyres: 'slip': the wheel's moment of inertia about its axle, tyre, rim and brake disc together, in kg·m². Defaults to 1. | packages/vehicle/src/RaycastVehicle.ts:34 |
loadSensitivity? | number | With tyres: 'slip': how much less the tyre grips for each newton as it is loaded, the exponent k in grip × (load / nominalLoad)^−k. Twice the load gives 2^−k as much grip a newton: 7% less at the default, 0.1. | packages/vehicle/src/RaycastVehicle.ts:46 |
mount | Vector3 | Where the wheel's suspension is fixed to the chassis, in the body's frame. The wheel hangs below it, down the body's up axis. | packages/vehicle/src/RaycastVehicle.ts:20 |
nominalLoad? | number | With tyres: 'slip': the load the tyre grips by grip at, in newtons. Defaults to its share of the body's weight. | packages/vehicle/src/RaycastVehicle.ts:48 |
peakSlipAngle? | number | With tyres: 'slip': the slip angle the tyre corners hardest at, in radians. Defaults to 0.1, about 6°. | packages/vehicle/src/RaycastVehicle.ts:36 |
peakSlipRatio? | number | With tyres: 'slip': the slip ratio, (spin × radius − speed) / speed, the tyre pulls or brakes hardest at. Defaults to 0.1. | packages/vehicle/src/RaycastVehicle.ts:38 |
radius | number | In metres. | packages/vehicle/src/RaycastVehicle.ts:22 |
rollingResistance? | number | The force against the tyre's rolling, as a share of the load on it. Defaults to 0.015. | packages/vehicle/src/RaycastVehicle.ts:32 |
slidingGrip? | number | With tyres: 'slip': the grip left when the tyre slides well past its peak, as a share of it, above 0 and below 1. Defaults to 0.75. | packages/vehicle/src/RaycastVehicle.ts:40 |
springDamping | number | In N·s/m. | packages/vehicle/src/RaycastVehicle.ts:28 |
springStiffness | number | In N/m. | packages/vehicle/src/RaycastVehicle.ts:26 |
suspensionLength | number | How far below the mount the wheel's centre hangs with its spring unloaded, in metres: how far it can travel. | packages/vehicle/src/RaycastVehicle.ts:24 |
