Train
The Train VO is a special vehicle object that players can enter. While inside, players are unable to move but can freely look around.
Control player entry and exit
Use the InVehicle attribute:
Set InVehicle to
Trueto move the player into the vehicle.Set InVehicle to
Falseto eject the player from the vehicle.
Authors can customize entry and exit, for example by adding buttons around or within the train that let players choose when they enter or leave the vehicle.

Last updated