Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Vehicles

TheEngine supports physics-based vehicles via the vehicle component.

Setting up a vehicle

Caution

TheEngine only supports one active vehicle at a time. There is currently no way to switch between which vehicle is active. The most recently added vehicle is the active one.

For an object to become a vehicle, it must already have an existing physics component and shape component. The motion type of the object must be set to dynamic, and the object layer must be set to MOVING.

If these conditions are met, then the object can become a vehicle by attaching a vehicle component.