Helicopters
Helicopters are air vehicles. They take off vertically, hover, and are limited by a configurable height range. They use a special spinning rotor part.
| Property | Value |
|---|---|
| Movement | AIR |
| Friction | LOW_FRICTION |
| Tilts/banks | Yes |
| Folder | vehicles/helicopters/ |
Controls
| Key | Action |
|---|---|
| W / S | Tilt forward/back and move horizontally |
| A / D | Rotate (yaw) |
| Space | Increase lift (ascend) |
| Shift | Decrease lift (descend) |
When the driver leaves, the helicopter descends gently and keeps some of its forward momentum instead of dropping.
Type-specific parts & settings
- Rotor — the spinning blade. Add one
rotorpart (see Creating vehicles → rotor). heightLimit— the min/max Y it may fly to, e.g.{ minHeight: -64, maxHeight: 320 }.
Everything else (skin, seats, speed, fuel, etc.) works exactly like a car. For the full file format see Creating vehicles.
.part(new Rotor()) # or in hjson: { type: rotor, ... }
heightLimit: { minHeight: -64, maxHeight: 320 }
gearbox: { realistic: false } # helicopters don't use a gearbox
trunkSize: 0