API ReferencevecontrollerpropAnimation
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.
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.
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Identifies target "eye" beams and initializes rest lengths. |
updateGFX(dt) | Calculates eye dilation and pupil movement by scaling beam lengths relative to vertical G-forces and ignition state. |
module.reset(jbeamData) | Resets the controller to its initial state. |
See Also
- Prop Animation — Other prop animations
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.
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.