Vehicle
Base functionality shared by all Vehicles (FlyingVehicle, HoverVehicle, WheeledVehicle).
Public Static Attributes
bool
Disables rendering of all instances of this type.
bool
Disables selection of all instances of this type.
float
How much larger the mWorkingQueryBox should be made when updating the working collision list.
int
The maximum number of ticks that go by before the mWorkingQueryBox is considered stale and needs updating.
Public Attributes
bool
When this flag is set, the vehicle will ignore throttle changes.
Detailed Description
Base functionality shared by all Vehicles (FlyingVehicle, HoverVehicle, WheeledVehicle).
This object implements functionality shared by all Vehicle types, but should not be instantiated directly. Create a FlyingVehicle, HoverVehicle, or WheeledVehicle instead.
note:The model used for any Vehicle must include a collision mesh at detail size -1.
Public Static Attributes
bool isRenderable
Disables rendering of all instances of this type.
bool isSelectable
Disables selection of all instances of this type.
float workingQueryBoxSizeMultiplier
How much larger the mWorkingQueryBox should be made when updating the working collision list.
The larger this number the less often the working list will be updated due to motion, but any non-static shape that moves into the query box will not be noticed.
int workingQueryBoxStaleThreshold
The maximum number of ticks that go by before the mWorkingQueryBox is considered stale and needs updating.
Other factors can cause the collision working query box to become invalidated, such as the vehicle moving far enough outside of this cached box. The smaller this number, the more times the working list of triangles that are considered for collision is refreshed. This has the greatest impact with colliding with high triangle count meshes.
note:Set to -1 to disable any time-based forced check.