Main   Class List   Namespace List   Wiki

FlyingVehicle Class Reference
[Vehicles]

A flying vehicle. More...

Inheritance diagram for FlyingVehicle:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void useCreateHeight (bool enabled)
 Set whether the vehicle should temporarily use the createHoverHeight specified in the datablock.

Static Public Attributes

static bool isRenderable
 Disables rendering of all instances of this type.
static bool isSelectable
 Disables selection of all instances of this type.

Detailed Description

A flying vehicle.

The model used for the FlyingVehicle has the following requirements:

Collision mesh
A convex collision mesh at detail size -1.
JetNozzle0-1 nodes
Particle emitter nodes used when thrusting forward.
JetNozzle2-3 nodes
Particle emitter nodes used when thrusting downward.
JetNozzleX, JetNozzleY nodes
Particle emitter nodes used when thrusting backward.
contrail0-3 nodes
Particle emitter nodes used when generating contrails.
activateBack animation
Non-cyclic animation sequence played when the vehicle begins thrusting forwards.
maintainBack animation
Cyclic animation sequence played after activateBack when the vehicle continues thrusting forwards.
activateBot animation
Non-cyclic animation sequence played when the vehicle begins thrusting upwards.
maintainBot animation
Cyclic animation sequence played after activateBot when the vehicle continues thrusting upwards.

Member Function Documentation

void FlyingVehicle::useCreateHeight ( bool  enabled  ) 

Set whether the vehicle should temporarily use the createHoverHeight specified in the datablock.

This can help avoid problems with spawning.

Parameters:
enabled true to use the datablock createHoverHeight, false otherwise

Member Data Documentation

Disables rendering of all instances of this type.

Reimplemented from Vehicle.

Disables selection of all instances of this type.

Reimplemented from Vehicle.



Copyright © GarageGames, LLC. All Rights Reserved.