Skip to main content
🏁

Audio and Part Motion

Work on the engine sound and how parts open. Driving can only be touched on vehicles that expose it.

1. Driving usually cannot be edited

Open Physics > Driving and you will normally see this.

This vehicle has no editable driving parameters.

Values like top speed and acceleration do not live in the Vehicle or VehicleTemplate tables — they sit on the vehicle's movement component, and few vehicles expose it to mods. If you see this line, that vehicle's handling cannot be touched.

For a vehicle that does show values, change top speed, acceleration, braking and steering a little at a time and drive it. Change several at once and you will not know which one caused what.

What you can do instead

Look, colour, lights, seats, audio and part motion are all independent of driving.

2. Adding sound

A vehicle has three sound slots. Each takes the path of a MetaSound (MetaSoundSource) asset.

SlotWhen it plays
EngineWhile driving
SpawnWhen the vehicle appears
DespawnWhen the vehicle disappears

Audio attaches to the vehicle asset directly, not to a data table.

If you do not have sounds yet

You can leave them empty, but putting in even a short sound is better — an unconnected slot is easy to lose track of later.

3. Part motion

You can define how doors, the trunk, windows and wipers open. Closing is generated automatically by playing the opening motion backwards.

You give how far the part moves from its closed position, as a position (cm) and a rotation (degrees).

Driver door → Yaw -65° (opens around the hinge)
Trunk → Pitch 70°
Window → Z -40cm (slides down)

Whether a part supports this is fixed per part. A part that is not in the list cannot be given a motion.