|
Public Types |
| | VC_NUM_DUST_EMITTERS = 1 |
| | VC_NUM_BUBBLE_EMITTERS = 1 |
| | VC_NUM_SPLASH_EMITTERS = 2 |
| | VC_BUBBLE_EMITTER = VC_NUM_BUBBLE_EMITTERS |
| | ExitWater |
| | ImpactSoft |
| | ImpactMedium |
| | ImpactHard |
| | Wake |
| | MaxSounds |
| enum | RigidShapeConsts {
VC_NUM_DUST_EMITTERS = 1,
VC_NUM_BUBBLE_EMITTERS = 1,
VC_NUM_SPLASH_EMITTERS = 2,
VC_BUBBLE_EMITTER = VC_NUM_BUBBLE_EMITTERS
} |
| enum | Sounds {
ExitWater,
ImpactSoft,
ImpactMedium,
ImpactHard,
Wake,
MaxSounds
} |
Public Member Functions |
| | RigidShapeData () |
| | ~RigidShapeData () |
| void | packData (BitStream *) |
| void | unpackData (BitStream *) |
| bool | preload (bool server, String &errorStr) |
| | Called to prepare the datablock for use, after it has been unpacked.
|
| | DECLARE_CONOBJECT (RigidShapeData) |
Static Public Member Functions |
| static void | initPersistFields () |
| | Register dynamic fields in a subclass of ConsoleObject.
|
Public Attributes |
| RigidShapeData::Body | body |
| SFXProfile * | waterSound [MaxSounds] |
| F32 | exitSplashSoundVel |
| F32 | softSplashSoundVel |
| F32 | medSplashSoundVel |
| F32 | hardSplashSoundVel |
| F32 | minImpactSpeed |
| F32 | softImpactSpeed |
| F32 | hardImpactSpeed |
| F32 | minRollSpeed |
| bool | cameraRoll |
| | Roll the 3rd party camera.
|
| F32 | cameraLag |
| | Amount of camera lag (lag += car velocity * lag).
|
| F32 | cameraDecay |
| | Rate at which camera returns to target pos.
|
| F32 | cameraOffset |
| | Vertical offset.
|
| F32 | minDrag |
| F32 | maxDrag |
| S32 | integration |
| | # of physics steps per tick
|
| F32 | collisionTol |
| | Collision distance tolerance.
|
| F32 | contactTol |
| | Contact velocity tolerance.
|
| Point3F | massCenter |
| | Center of mass for rigid body.
|
| Point3F | massBox |
| | Size of inertial box.
|
| ParticleEmitterData * | dustEmitter |
| S32 | dustID |
| F32 | triggerDustHeight |
| | height shape has to be under to kick up dust
|
| F32 | dustHeight |
| | dust height above ground
|
| ParticleEmitterData * | splashEmitterList [VC_NUM_SPLASH_EMITTERS] |
| S32 | splashEmitterIDList [VC_NUM_SPLASH_EMITTERS] |
| F32 | splashFreqMod |
| F32 | splashVelEpsilon |
| F32 | dragForce |
| F32 | vertFactor |
| F32 | normalForce |
| F32 | restorativeForce |
| F32 | rollForce |
| F32 | pitchForce |
| ParticleEmitterData * | dustTrailEmitter |
| S32 | dustTrailID |
| Point3F | dustTrailOffset |
| F32 | triggerTrailHeight |
| F32 | dustTrailFreqMod |
Protected Member Functions |
| bool | onAdd () |
| | Called when the object is added to the sim.
|
Private Types |
| typedef ShapeBaseData | Parent |
Classes |
| struct | Body |