OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
Data Structures | Typedefs | Functions | Variables
v3dlib_physics.pkg File Reference

Data Structures

struct  V3Dphysics
 

Typedefs

typedef struct mkV3Dphysics V3Dphysics
 

Functions

 V3DphysEnablePhysic (sessionstr, state)
 
 V3DphysResetPhysic (sessionstr)
 
 V3DphysGetState (sessionstr)
 
 V3DphysSetWorld (sessionstr, vec)
 
 V3DphysGetWorld (sessionstr)
 
 V3DphysSetFps (sessionstr, fps)
 
 V3DphysGetFps (sessionstr)
 
 V3DphysSetGravity (sessionstr, g)
 
 V3DphysGetGravity (sessionstr)
 
 V3DphysSetSolverMode (sessionstr, mode)
 
 V3DphysGetSolverMode (sessionstr)
 
 V3DphysGetSolverModeName (sessionstr)
 
 V3DphysSetSolverModeByName (sessionstr, smode)
 
 V3DgetDefaultMaterial (sessionstr)
 
 V3DgetAvatarMaterial (sessionstr)
 
 V3DphysSetBodyMaterial (sessionstr, body, matname)
 
 V3DphysCreateMaterialOnNode (sessionstr, node)
 
 V3DphysGetUniformBoundingBox (node)
 
 V3DphysCreateBodyEllipsoid (node, vec)
 
 V3DphysCreateBodyBox (node, vec)
 
 V3DphysCreateBodyCylinder (node, vec)
 
 V3DphysCreateBodyChamferCylinder (node, vec)
 
 V3DphysCreateBodyCapsule (node, vec)
 
 V3DphysCreateBodyCone (node, vec)
 
 V3DphysCreateBodyPyramid (node, vec)
 
 V3DphysCreateBodyEllipsoidExt (node, vec, offsetp, offseta)
 
 V3DphysCreateBodyBoxExt (node, vec, offsetp, offseta)
 
 V3DphysCreateBodyCylinderExt (node, vec, offsetp, offseta)
 
 V3DphysCreateBodyChamferCylinderExt (node, vec, offsetp, offseta)
 
 V3DphysCreateBodyCapsuleExt (node, vec, offsetp, offseta)
 
 V3DphysCreateBodyConeExt (node, vec, offsetp, offseta)
 
 V3DphysCreateBodyPyramidExt (node, vec, offsetp, offseta)
 
 V3DphysSetMaterialProperties (material, bcoll, bcontcoll, staticfriction, kineticfriction, elasticity, softness)
 
 V3DphysEnableBody (body, state)
 
 V3DphysFreezeBody (body, mode)
 
 V3DphysGetBodyState (body, mode)
 
 V3DphysShowDebug (sessionstr, state)
 
 V3DphysCreate (sessionstr)
 
 V3DphysDestroy (sessionstr)
 
 V3DphysReset (sessionstr)
 

Variables

proto V3DphysCreateBodyEllipsoid =fun [SO3_OBJECT [F F F]] SO3_PHYSICBODY
 
proto V3DphysCreateBodyBox =fun [SO3_OBJECT [F F F]] SO3_PHYSICBODY
 

Typedef Documentation

◆ V3Dphysics

typedef struct mkV3Dphysics V3Dphysics

Function Documentation

◆ V3DphysEnablePhysic()

V3DphysEnablePhysic ( sessionstr  ,
state   
)

◆ V3DphysResetPhysic()

V3DphysResetPhysic ( sessionstr  )

◆ V3DphysGetState()

V3DphysGetState ( sessionstr  )

◆ V3DphysSetWorld()

V3DphysSetWorld ( sessionstr  ,
vec   
)

◆ V3DphysGetWorld()

V3DphysGetWorld ( sessionstr  )

◆ V3DphysSetFps()

V3DphysSetFps ( sessionstr  ,
fps   
)

◆ V3DphysGetFps()

V3DphysGetFps ( sessionstr  )

◆ V3DphysSetGravity()

V3DphysSetGravity ( sessionstr  ,
 
)

◆ V3DphysGetGravity()

V3DphysGetGravity ( sessionstr  )

◆ V3DphysSetSolverMode()

V3DphysSetSolverMode ( sessionstr  ,
mode   
)

◆ V3DphysGetSolverMode()

V3DphysGetSolverMode ( sessionstr  )

◆ V3DphysGetSolverModeName()

V3DphysGetSolverModeName ( sessionstr  )

◆ V3DphysSetSolverModeByName()

V3DphysSetSolverModeByName ( sessionstr  ,
smode   
)

◆ V3DgetDefaultMaterial()

V3DgetDefaultMaterial ( sessionstr  )

◆ V3DgetAvatarMaterial()

V3DgetAvatarMaterial ( sessionstr  )

◆ V3DphysSetBodyMaterial()

V3DphysSetBodyMaterial ( sessionstr  ,
body  ,
matname   
)

◆ V3DphysCreateMaterialOnNode()

V3DphysCreateMaterialOnNode ( sessionstr  ,
node   
)

◆ V3DphysGetUniformBoundingBox()

V3DphysGetUniformBoundingBox ( node  )

◆ V3DphysCreateBodyEllipsoid()

V3DphysCreateBodyEllipsoid ( node  ,
vec   
)

◆ V3DphysCreateBodyBox()

V3DphysCreateBodyBox ( node  ,
vec   
)

◆ V3DphysCreateBodyCylinder()

V3DphysCreateBodyCylinder ( node  ,
vec   
)

◆ V3DphysCreateBodyChamferCylinder()

V3DphysCreateBodyChamferCylinder ( node  ,
vec   
)

◆ V3DphysCreateBodyCapsule()

V3DphysCreateBodyCapsule ( node  ,
vec   
)

◆ V3DphysCreateBodyCone()

V3DphysCreateBodyCone ( node  ,
vec   
)

◆ V3DphysCreateBodyPyramid()

V3DphysCreateBodyPyramid ( node  ,
vec   
)

◆ V3DphysCreateBodyEllipsoidExt()

V3DphysCreateBodyEllipsoidExt ( node  ,
vec  ,
offsetp  ,
offseta   
)

◆ V3DphysCreateBodyBoxExt()

V3DphysCreateBodyBoxExt ( node  ,
vec  ,
offsetp  ,
offseta   
)

◆ V3DphysCreateBodyCylinderExt()

V3DphysCreateBodyCylinderExt ( node  ,
vec  ,
offsetp  ,
offseta   
)

◆ V3DphysCreateBodyChamferCylinderExt()

V3DphysCreateBodyChamferCylinderExt ( node  ,
vec  ,
offsetp  ,
offseta   
)

◆ V3DphysCreateBodyCapsuleExt()

V3DphysCreateBodyCapsuleExt ( node  ,
vec  ,
offsetp  ,
offseta   
)

◆ V3DphysCreateBodyConeExt()

V3DphysCreateBodyConeExt ( node  ,
vec  ,
offsetp  ,
offseta   
)

◆ V3DphysCreateBodyPyramidExt()

V3DphysCreateBodyPyramidExt ( node  ,
vec  ,
offsetp  ,
offseta   
)

◆ V3DphysSetMaterialProperties()

V3DphysSetMaterialProperties ( material  ,
bcoll  ,
bcontcoll  ,
staticfriction  ,
kineticfriction  ,
elasticity  ,
softness   
)

◆ V3DphysEnableBody()

V3DphysEnableBody ( body  ,
state   
)

◆ V3DphysFreezeBody()

V3DphysFreezeBody ( body  ,
mode   
)

◆ V3DphysGetBodyState()

V3DphysGetBodyState ( body  ,
mode   
)

◆ V3DphysShowDebug()

V3DphysShowDebug ( sessionstr  ,
state   
)

◆ V3DphysCreate()

V3DphysCreate ( sessionstr  )

◆ V3DphysDestroy()

V3DphysDestroy ( sessionstr  )

◆ V3DphysReset()

V3DphysReset ( sessionstr  )

Variable Documentation

◆ V3DphysCreateBodyEllipsoid

proto V3DphysCreateBodyEllipsoid =fun [SO3_OBJECT [F F F]] SO3_PHYSICBODY

◆ V3DphysCreateBodyBox

proto V3DphysCreateBodyBox =fun [SO3_OBJECT [F F F]] SO3_PHYSICBODY