Torque3D Documentation / _generateds / WheeledVehicleData

WheeledVehicleData

Engine/source/T3D/vehicles/wheeledVehicle.h

More...

Classes:

Public Types

enum
Constants {
  MaxWheels = 8
  MaxWheelBits = 3
}
enum
Sounds {
  JetSound 
  EngineSound 
  SquealSound 
  WheelImpactSound 
  MaxSounds 
}
Parent 

Public Functions

bool

Find a matching lateral wheel Looks for a matching wheeling mirrored along the Y axis, within some tolerance (current 0.5m), if one is found, the two wheels are lined up.

bool
preload(bool , String & errorStr)

Load the vehicle shape Loads and extracts information from the vehicle shape.

Public Static Functions

Detailed Description

Public Types

Constants

Enumerator

MaxWheels = 8
MaxWheelBits = 3
Sounds

Enumerator

JetSound
EngineSound
SquealSound
WheelImpactSound
MaxSounds
typedef VehicleData Parent 

Public Attributes

S32 brakeLightSequence 
F32 brakeTorque 
F32 engineBrake 
F32 engineTorque 
F32 maxWheelSpeed 
ClippedPolyList rigidBody 
SFXTrack * sound [MaxSounds]
S32 steeringSequence 
ParticleEmitterData * tireEmitter 
struct WheeledVehicleData::Wheel wheel [MaxWheels]
U32 wheelCount 

Public Functions

WheeledVehicleData()

DECLARE_CONOBJECT(WheeledVehicleData )

mirrorWheel(Wheel * we)

Find a matching lateral wheel Looks for a matching wheeling mirrored along the Y axis, within some tolerance (current 0.5m), if one is found, the two wheels are lined up.

packData(BitStream * stream)

Reimplemented from: VehicleData

preload(bool , String & errorStr)

Reimplemented from: VehicleData

unpackData(BitStream * stream)

Reimplemented from: VehicleData

Public Static Functions

initPersistFields()