API ReferencevecontrollerpropAnimation
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.
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.
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Maps gear indices to X/Y positions and connects to the primary gearbox. |
updateGFX(dt) | Synchronizes the lever position with the physical gearbox state. Manages the sequential movement (Neutral rail -> Gear slot) and triggers mechanical shift sounds. |
module.reset(jbeamData) | Resets the controller to its initial state. |
See Also
- Sequential Lever — Sequential shifter animation
- Manual Gearbox Shift Logic — Manual transmission logic
Googly Eyes Animation
A fun cosmetic controller that animates googly eyes on the vehicle. The eyes react to vehicle acceleration, turning, and bumps with physics-based wobble animations.
Sequential Lever Animation
Animates a sequential gear shifter prop that rocks forward/back for up/downshifts. Returns to center position between shifts.