Work in progress. These docs describe Spawnite at launch, and some parts are still being built.
| Property |
Type |
Default value |
Description |
distance? |
number |
0 |
Metres along the track it starts at, read on mount. |
drag? |
number |
0.004 |
1/m quadratic drag, which sets a soft top speed. |
enabled? |
boolean |
true |
Off, it holds where it is: before a launch, after a finish. |
fallScale? |
number |
2 |
Gravity’s multiple in the air, so a jump does not float. |
friction? |
number |
0 |
1/s speed lost on the ground, on top of what the track’s own friction costs where it rides. |
gravity? |
number |
9.8 |
Metres a second squared along the slope. |
jumpHeight? |
number |
1 |
Metres a jump rises. |
lateral? |
number |
0 |
Metres across it starts at, read on mount. |
rideHeight? |
number |
0.5 |
Metres the entity’s origin rides above the surface. |
sideAcceleration? |
number |
5.5 |
Metres a second squared across at a full steer. |
sideResponse? |
number |
10 |
How fast, in 1/s, the sideways speed eases to none on release. |
sideSpeed? |
number |
3.5 |
Metres a second across, at most. |
track |
Track |
undefined |
The track it rides. |