Table of Contents

ShipController is a SceneComponent that manages other (child) ship SceneComponents such as ShipEngine and ShipRudder.

Input

Ship Controller requires following binding to be set up under Project Settings ⇒ Input:

Hierarchy

ShipController is intended to be used together with WaterObject, but this is not required.

Typical hierarchy would be:

Example ship setup from the demo yacht.

A few notes:

UShipController

A simple ship controller script containing no optional fields.

UShipRudder

Rotates the child objects around its transform position.

UShipEngine

Handles engine thrust, sound, and propeller rotation. The latter two are optional.