WheeledVehicleData
Engine/source/T3D/vehicles/wheeledVehicle.h
Classes:
Public Types
enum
Constants { MaxWheels = 8 MaxWheelBits = 3 }
enum
Sounds { JetSound EngineSound SquealSound WheelImpactSound MaxSounds }
Parent
Public Attributes
struct WheeledVehicleData::Wheel
wheel [MaxWheels]
Public Functions
bool
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.
bool
unpackData(BitStream * stream)
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