API ReferencevecontrollerpropAnimation
Dual-Axis Lever Animation
Animates a prop lever that moves on two axes simultaneously (e.g., joystick-style controls). Maps two input values to X and Y rotation of the lever mesh.
Animates a prop lever that moves on two axes simultaneously (e.g., joystick-style controls). Maps two input values to X and Y rotation of the lever mesh.
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Sets up coordinate maps for shifter positions and initializes movement queues for smooth multi-step animations. |
updateGFX(dt) | Main animation loop. Advanced the lever through the target queue, including intermediate coordinates for complex paths, and updates electrics for visual materials. |
module.reset(jbeamData) | Resets the controller to its initial state. |
See Also
- Single-Axis Lever — Single-axis lever animation
- H-Pattern — H-pattern shifter animation
Rim Pull Control
Controls maximum tractive effort (rim pull) on heavy equipment. Limits wheel torque to prevent tire spin in low-traction conditions, commonly used on wheel loaders and construction equipment.
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.