API ReferencevecontrollerpropAnimation
Single-Axis Lever Animation
Animates a prop lever that moves on a single axis (e.g., handbrake lever, turn signal stalk). Maps an input value to rotation of the lever mesh.
Animates a prop lever that moves on a single axis (e.g., handbrake lever, turn signal stalk). Maps an input value to rotation of the lever mesh.
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Maps gear indices to a single linear axis value. |
updateGFX(dt) | Interpolates the lever position based on the current gearModeIndex and manages mechanical shift sounds. |
module.reset(jbeamData) | Resets the controller to its initial state. |
See Also
- Dual-Axis Lever — Two-axis lever animation
Sequential Lever Animation
Animates a sequential gear shifter prop that rocks forward/back for up/downshifts. Returns to center position between shifts.
Air Brake Sound Controller
Manages sound effects for pneumatic air brake operation — the characteristic hiss of air release when brakes are applied and released on heavy trucks.