Axle Lift Controller
Controls hydraulic or pneumatic axle lift mechanisms that raise/lower individual axles. Commonly used on multi-axle trucks to reduce tire wear when unloaded or improve maneuverability.
Controls hydraulic or pneumatic axle lift mechanisms that raise/lower individual axles. Commonly used on multi-axle trucks to reduce tire wear when unloaded or improve maneuverability.
Public API
| Function | Description |
|---|---|
new(jbeamData) | Creates a new axle lift controller. |
module.toggleMode() | Toggles mode. |
module.setMode(mode) | Sets the mode. |
module.setParameters(parameters) | Sets the parameters. |
Hooks
| Hook | Description |
|---|---|
module.init(jbeamData) | Initializes the controller from JBeam data. |
module.updateGFX(dt) | Per-frame update for visual state and UI synchronization. |
Usage Example
-- Lift the tag axle
controller.getController("axleLift").liftAxle(true)See Also
- Pneumatics — Air pressure systems
- Hydraulic Suspension — Hydraulic ride height control
Airplane Control Surfaces
Controls aerodynamic flight surfaces (ailerons, elevators, rudder, flaps) for airplane-type vehicles. Maps pilot inputs to control surface deflections and manages trim settings.
Beacon Spin Controller
Controls the visual rotation animation of emergency vehicle beacon lights. Synchronizes beacon spin speed and phase with the vehicle's lightbar state for realistic rotating light effects.