orx  1.14
Portable Game Engine
orxBody.h File Reference
#include "orxInclude.h"
#include "object/orxStructure.h"
#include "physics/orxPhysics.h"

Go to the source code of this file.

Typedefs

typedef struct __orxBODY_t orxBODY
 
typedef struct __orxBODY_JOINT_t orxBODY_JOINT
 
typedef struct __orxBODY_PART_t orxBODY_PART
 

Functions

orxDLLAPI orxBODY_JOINT *orxFASTCALL orxBody_AddJoint (orxBODY *_pstSrcBody, orxBODY *_pstDstBody, const orxBODY_JOINT_DEF *_pstBodyJointDef)
 
orxDLLAPI orxBODY_JOINT *orxFASTCALL orxBody_AddJointFromConfig (orxBODY *_pstSrcBody, orxBODY *_pstDstBody, const orxSTRING _zConfigID)
 
orxDLLAPI orxBODY_PART *orxFASTCALL orxBody_AddPart (orxBODY *_pstBody, const orxBODY_PART_DEF *_pstBodyPartDef)
 
orxDLLAPI orxBODY_PART *orxFASTCALL orxBody_AddPartFromConfig (orxBODY *_pstBody, const orxSTRING _zConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_ApplyForce (orxBODY *_pstBody, const orxVECTOR *_pvForce, const orxVECTOR *_pvPoint)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_ApplyImpulse (orxBODY *_pstBody, const orxVECTOR *_pvImpulse, const orxVECTOR *_pvPoint)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_ApplyTorque (orxBODY *_pstBody, orxFLOAT _fTorque)
 
orxDLLAPI orxU32 orxFASTCALL orxBody_BoxPick (const orxAABOX *_pstBox, orxU16 _u16SelfFlags, orxU16 _u16CheckMask, orxBODY *_apstBodyList[], orxU32 _u32Number)
 
orxDLLAPI orxBODY *orxFASTCALL orxBody_Create (const orxSTRUCTURE *_pstOwner, const orxBODY_DEF *_pstBodyDef)
 
orxDLLAPI orxBODY *orxFASTCALL orxBody_CreateFromConfig (const orxSTRUCTURE *_pstOwner, const orxSTRING _zConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_Delete (orxBODY *_pstBody)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_EnableMotor (orxBODY_JOINT *_pstBodyJoint, orxBOOL _bEnable)
 
orxDLLAPI void orxFASTCALL orxBody_Exit ()
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_GetAllowMoving (const orxBODY *_pstBody)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetAngularDamping (const orxBODY *_pstBody)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetAngularVelocity (const orxBODY *_pstBody)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxBody_GetCustomGravity (const orxBODY *_pstBody, orxVECTOR *_pvCustomGravity)
 
orxDLLAPI orxU32 orxFASTCALL orxBody_GetDefFlags (const orxBODY *_pstBody, orxU32 _u32Mask)
 
orxDLLAPI const orxSTRING orxFASTCALL orxBody_GetJointName (const orxBODY_JOINT *_pstBodyJoint)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxBody_GetJointReactionForce (const orxBODY_JOINT *_pstBodyJoint, orxVECTOR *_pvForce)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetJointReactionTorque (const orxBODY_JOINT *_pstBodyJoint)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetLinearDamping (const orxBODY *_pstBody)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetMass (const orxBODY *_pstBody)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxBody_GetMassCenter (const orxBODY *_pstBody, orxVECTOR *_pvMassCenter)
 
orxDLLAPI const orxSTRING orxFASTCALL orxBody_GetName (const orxBODY *_pstBody)
 
orxDLLAPI orxBODY_JOINT *orxFASTCALL orxBody_GetNextJoint (const orxBODY *_pstBody, const orxBODY_JOINT *_pstBodyJoint)
 
orxDLLAPI orxBODY_PART *orxFASTCALL orxBody_GetNextPart (const orxBODY *_pstBody, const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxBODY *orxFASTCALL orxBody_GetPartBody (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxU16 orxFASTCALL orxBody_GetPartCheckMask (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI const orxBODY_PART_DEF *orxFASTCALL orxBody_GetPartDef (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetPartDensity (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetPartFriction (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI const orxSTRING orxFASTCALL orxBody_GetPartName (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetPartRestitution (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxU16 orxFASTCALL orxBody_GetPartSelfFlags (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxBody_GetPosition (const orxBODY *_pstBody, orxVECTOR *_pvPosition)
 
orxDLLAPI orxFLOAT orxFASTCALL orxBody_GetRotation (const orxBODY *_pstBody)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxBody_GetSpeed (const orxBODY *_pstBody, orxVECTOR *_pvSpeed)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxBody_GetSpeedAtWorldPosition (const orxBODY *_pstBody, const orxVECTOR *_pvPosition, orxVECTOR *_pvSpeed)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_Init ()
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_IsDynamic (const orxBODY *_pstBody)
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_IsFixedRotation (const orxBODY *_pstBody)
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_IsInside (const orxBODY *_pstBody, const orxVECTOR *_pvPosition)
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_IsInsidePart (const orxBODY_PART *_pstBodyPart, const orxVECTOR *_pvPosition)
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_IsPartSolid (const orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxBODY *orxFASTCALL orxBody_Raycast (const orxVECTOR *_pvBegin, const orxVECTOR *_pvEnd, orxU16 _u16SelfFlags, orxU16 _u16CheckMask, orxBOOL _bEarlyExit, orxVECTOR *_pvContact, orxVECTOR *_pvNormal)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_RemoveJoint (orxBODY_JOINT *_pstBodyJoint)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_RemovePart (orxBODY_PART *_pstBodyPart)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_RemovePartFromConfig (orxBODY *_pstBody, const orxSTRING _zConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetAllowMoving (orxBODY *_pstBody, orxBOOL _bAllowMoving)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetAngularDamping (orxBODY *_pstBody, orxFLOAT _fDamping)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetAngularVelocity (orxBODY *_pstBody, orxFLOAT _fVelocity)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetCustomGravity (orxBODY *_pstBody, const orxVECTOR *_pvCustomGravity)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetDynamic (orxBODY *_pstBody, orxBOOL _bDynamic)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetFixedRotation (orxBODY *_pstBody, orxBOOL _bFixed)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetJointMaxMotorTorque (orxBODY_JOINT *_pstBodyJoint, orxFLOAT _fMaxTorque)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetJointMotorSpeed (orxBODY_JOINT *_pstBodyJoint, orxFLOAT _fSpeed)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetLinearDamping (orxBODY *_pstBody, orxFLOAT _fDamping)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetPartCheckMask (orxBODY_PART *_pstBodyPart, orxU16 _u16CheckMask)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetPartDensity (orxBODY_PART *_pstBodyPart, orxFLOAT _fDensity)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetPartFriction (orxBODY_PART *_pstBodyPart, orxFLOAT _fFriction)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetPartRestitution (orxBODY_PART *_pstBodyPart, orxFLOAT _fRestitution)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetPartSelfFlags (orxBODY_PART *_pstBodyPart, orxU16 _u16SelfFlags)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetPartSolid (orxBODY_PART *_pstBodyPart, orxBOOL _bSolid)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetPosition (orxBODY *_pstBody, const orxVECTOR *_pvPosition)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetRotation (orxBODY *_pstBody, orxFLOAT _fRotation)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetScale (orxBODY *_pstBody, const orxVECTOR *_pvScale)
 
orxDLLAPI orxSTATUS orxFASTCALL orxBody_SetSpeed (orxBODY *_pstBody, const orxVECTOR *_pvSpeed)
 
orxDLLAPI void orxFASTCALL orxBody_Setup ()
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_TestAllDefFlags (const orxBODY *_pstBody, orxU32 _u32Flags)
 
orxDLLAPI orxBOOL orxFASTCALL orxBody_TestDefFlags (const orxBODY *_pstBody, orxU32 _u32Flags)
 

Detailed Description


Generated for orx by doxygen 1.8.11