Xors3d Engine
Vehicle

Functions

BBDECL int BBCALL xEntityAddWheel (Entity *chassisEntity, Entity *wheelEntity)
BBDECL int BBCALL xEntityCountWheels (Entity *chassisEntity)
BBDECL void BBCALL xEntityCreateVehicle (Entity *chassisEntity)
BBDECL void BBCALL xEntityFreeVehicle (Entity *chassisEntity)
BBDECL Entity *BBCALL xEntityWheelGetContactEntity (Entity *chassisEntity, int index)
BBDECL float BBCALL xEntityWheelGetPitch (Entity *chassisEntity, int index)
BBDECL float BBCALL xEntityWheelGetRoll (Entity *chassisEntity, int index)
BBDECL float BBCALL xEntityWheelGetSuspensionLength (Entity *chassisEntity, int index)
BBDECL float BBCALL xEntityWheelGetYaw (Entity *chassisEntity, int index)
BBDECL void BBCALL xEntityWheelSetAxle (Entity *chassisEntity, int index, float x, float y, float z)
BBDECL void BBCALL xEntityWheelSetBrake (Entity *chassisEntity, int index, float brake)
BBDECL void BBCALL xEntityWheelSetConnectionPoint (Entity *chassisEntity, int index, float x, float y, float z, bool isGlobal=false)
BBDECL void BBCALL xEntityWheelSetEngineForce (Entity *chassisEntity, int index, float force)
BBDECL void BBCALL xEntityWheelSetFriction (Entity *chassisEntity, int index, float friction)
BBDECL void BBCALL xEntityWheelSetMaxSuspensionForce (Entity *chassisEntity, int index, float force)
BBDECL void BBCALL xEntityWheelSetMaxSuspensionTravel (Entity *chassisEntity, int index, float travel)
BBDECL void BBCALL xEntityWheelSetRadius (Entity *chassisEntity, int index, float radius)
BBDECL void BBCALL xEntityWheelSetRay (Entity *chassisEntity, int index, float x, float y, float z)
BBDECL void BBCALL xEntityWheelSetRollInfluence (Entity *chassisEntity, int index, float roll)
BBDECL void BBCALL xEntityWheelSetRotation (Entity *chassisEntity, int index, float rotation)
BBDECL void BBCALL xEntityWheelSetSteering (Entity *chassisEntity, int index, float steering)
BBDECL void BBCALL xEntityWheelSetSuspensionCompression (Entity *chassisEntity, int index, float compression)
BBDECL void BBCALL xEntityWheelSetSuspensionDamping (Entity *chassisEntity, int index, float damping)
BBDECL void BBCALL xEntityWheelSetSuspensionLength (Entity *chassisEntity, int index, float length)
BBDECL void BBCALL xEntityWheelSetSuspensionStiffness (Entity *chassisEntity, int index, float stiffness)

Function Documentation

BBDECL void BBCALL xEntityCreateVehicle ( Entity *  chassisEntity)
BBDECL void BBCALL xEntityFreeVehicle ( Entity *  chassisEntity)
BBDECL int BBCALL xEntityCountWheels ( Entity *  chassisEntity)
BBDECL int BBCALL xEntityAddWheel ( Entity *  chassisEntity,
Entity *  wheelEntity 
)
BBDECL void BBCALL xEntityWheelSetRadius ( Entity *  chassisEntity,
int  index,
float  radius 
)
BBDECL void BBCALL xEntityWheelSetAxle ( Entity *  chassisEntity,
int  index,
float  x,
float  y,
float  z 
)
BBDECL void BBCALL xEntityWheelSetRay ( Entity *  chassisEntity,
int  index,
float  x,
float  y,
float  z 
)
BBDECL void BBCALL xEntityWheelSetSuspensionLength ( Entity *  chassisEntity,
int  index,
float  length 
)
BBDECL void BBCALL xEntityWheelSetBrake ( Entity *  chassisEntity,
int  index,
float  brake 
)
BBDECL void BBCALL xEntityWheelSetMaxSuspensionForce ( Entity *  chassisEntity,
int  index,
float  force 
)
BBDECL void BBCALL xEntityWheelSetMaxSuspensionTravel ( Entity *  chassisEntity,
int  index,
float  travel 
)
BBDECL void BBCALL xEntityWheelSetSuspensionStiffness ( Entity *  chassisEntity,
int  index,
float  stiffness 
)
BBDECL void BBCALL xEntityWheelSetSuspensionDamping ( Entity *  chassisEntity,
int  index,
float  damping 
)
BBDECL void BBCALL xEntityWheelSetSuspensionCompression ( Entity *  chassisEntity,
int  index,
float  compression 
)
BBDECL void BBCALL xEntityWheelSetFriction ( Entity *  chassisEntity,
int  index,
float  friction 
)
BBDECL void BBCALL xEntityWheelSetEngineForce ( Entity *  chassisEntity,
int  index,
float  force 
)
BBDECL void BBCALL xEntityWheelSetRollInfluence ( Entity *  chassisEntity,
int  index,
float  roll 
)
BBDECL void BBCALL xEntityWheelSetRotation ( Entity *  chassisEntity,
int  index,
float  rotation 
)
BBDECL void BBCALL xEntityWheelSetSteering ( Entity *  chassisEntity,
int  index,
float  steering 
)
BBDECL void BBCALL xEntityWheelSetConnectionPoint ( Entity *  chassisEntity,
int  index,
float  x,
float  y,
float  z,
bool  isGlobal = false 
)
BBDECL float BBCALL xEntityWheelGetSuspensionLength ( Entity *  chassisEntity,
int  index 
)
BBDECL float BBCALL xEntityWheelGetPitch ( Entity *  chassisEntity,
int  index 
)
BBDECL float BBCALL xEntityWheelGetYaw ( Entity *  chassisEntity,
int  index 
)
BBDECL float BBCALL xEntityWheelGetRoll ( Entity *  chassisEntity,
int  index 
)
BBDECL Entity* BBCALL xEntityWheelGetContactEntity ( Entity *  chassisEntity,
int  index 
)