User Tools

Site Tools


Sidebar

hpl3:community:scripting:classes:iphysicsworld

iPhysicsWorld

Fields

iPhysicsWorld has no public fields.

Functions

//
hpl3/community/scripting/classes/iphysicsworld.txt · Last modified: 2015/11/05 11:30 by abion47

Return Type Function Name Parameters Description
void PostUpdate float afTimeStep
void SetMaxTimeStep float afTimeStep
float GetMaxTimeStep
void SetWorldSize const cVector3f& avMin,
const cVector3f& avMax
cVector3f GetWorldSizeMin
cVector3f GetWorldSizeMax
void SetGravity const cVector3f &in avGravity
cVector3f GetGravity
void SetAccuracyLevel ePhysicsAccuracy aAccuracy
ePhysicsAccuracy GetAccuracyLevel
iPhysicsBody@ GetPhysicsBodyFromID tID aID
iPhysicsJoint@ GetPhysicsJointFromID tID aID
iCharacterBody@ GetCharacterBodyFromID tID aID
void SetNumberOfThreads int alThreads
int GetNumberOfThreads
iCollideShape@ CreateBoxShape const cVector3f& avSize,
cMatrixf &in a_mtxOffsetMtx
iCollideShape@ CreateSphereShape const cVector3f& avRadii,
cMatrixf &in a_mtxOffsetMtx
iCollideShape@ CreateCylinderShape float afRadius,
float afHeight,
cMatrixf &in a_mtxOffsetMtx
iCollideShape@ CreateCapsuleShape float afRadius,
float afHeight,
cMatrixf &in a_mtxOffsetMtx
iCollideShape@ CreateMeshShape iVertexBuffer@ apVtxBuffer
iCollideShape@ LoadMeshShapeFromBuffer cBinaryBuffer@ apBuffer
void SaveMeshShapeToBuffer iCollideShape@ apMeshShape,
cBinaryBuffer@ apBuffer
iCollideShape@ CreateCompundShape avShapes
void DestroyShape iCollideShape@ apShape
iPhysicsJointBall@ CreateJointBall const tString& asName,
const cVector3f &in avPivotPoint,
const cVector3f &in avPinDir,
iPhysicsBody@ apParentBody,
iPhysicsBody@ apChildBody
iPhysicsJointHinge@ CreateJointHinge const tString& asName,
const cVector3f &in avPivotPoint,
const cVector3f &in avPinDir,
iPhysicsBody@ apParentBody,
iPhysicsBody@ apChildBody
iPhysicsJointSlider@ CreateJointSlider const tString& asName,
const cVector3f &in avPivotPoint,
const cVector3f &in avPinDir,
iPhysicsBody@ apParentBody,
iPhysicsBody@ apChildBody
tID CreateJointBallID const tString& asName,
const cVector3f &in avPivotPoint,
const cVector3f &in avPinDir,
iPhysicsBody@ apParentBody,
iPhysicsBody@ apChildBody
tID CreateJointHingeID const tString& asName,
const cVector3f &in avPivotPoint,
const cVector3f &in avPinDir,
iPhysicsBody@ apParentBody,
iPhysicsBody@ apChildBody
tID CreateJointSliderID const tString& asName,
const cVector3f &in avPivotPoint,
const cVector3f &in avPinDir,
iPhysicsBody@ apParentBody,
iPhysicsBody@ apChildBody
void DestroyJoint iPhysicsJoint@ apJoint