Skip to content

five-on-it / apps/client/src/renderer/slip / WheelSlip

Interface: WheelSlip ​

Defined in: apps/client/src/renderer/slip.ts:54

One wheel this frame.

Properties ​

amount ​

amount: number

Defined in: apps/client/src/renderer/slip.ts:66

How much it slides, 0..1: the strongest of the three; 0 off the ground.


lateral ​

lateral: number

Defined in: apps/client/src/renderer/slip.ts:60

Sideways speed of the tyre over the ground, along the car's left (m/s).


locked ​

locked: boolean

Defined in: apps/client/src/renderer/slip.ts:64

Locked by the handbrake and dragged along.


spin ​

spin: number

Defined in: apps/client/src/renderer/slip.ts:62

How hard it spins on the spot, 0..1.


x ​

x: number

Defined in: apps/client/src/renderer/slip.ts:56

Where the bottom of its tyre is, at full suspension travel (m, world): the ground is looked up from there.


y ​

y: number

Defined in: apps/client/src/renderer/slip.ts:57


z ​

z: number

Defined in: apps/client/src/renderer/slip.ts:58