API ReferencevecontrollerpropAnimation
Sequential Lever Animation
Animates a sequential gear shifter prop that rocks forward/back for up/downshifts. Returns to center position between shifts.
Animates a sequential gear shifter prop that rocks forward/back for up/downshifts. Returns to center position between shifts.
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Connects to the sequential gearbox and initializes smoothing for the lever's return-to-center motion. |
updateGFX(dt) | Triggers a temporary lever displacement (Up/Down) upon gear changes and manages the audible "click" of the shifter. |
module.reset(jbeamData) | Resets the controller to its initial state. |
See Also
- H-Pattern — H-pattern shifter animation
- Sequential Gearbox Shift Logic — Sequential transmission logic
H-Pattern Shifter Animation
Animates an H-pattern gear shifter prop in the vehicle cabin. Maps the current gear selection to the correct gate position with smooth transition animations.
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.