HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cPhysics
< HPL3 | Amnesia: Rebirth | Scripting | Scripting Api
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Summary
Return Type | Function and Description |
---|---|
iPhysicsWorld | cPhysics_CreateWorld(bool abAddSurfaceData) |
void | cPhysics_DestroyWorld(iPhysicsWorld@ apWorld) |
float | cPhysics_GetImpactDuration() |
int | cPhysics_GetMaxImpacts() |
void | cPhysics_SetImpactDuration(float afX) |
void | cPhysics_SetMaxImpacts(int alX) |
iPhysicsBody | cPhysics_ToBody(iEntity3D@ apEntity) |
iPhysicsJointBall | cPhysics_ToJointBall(iPhysicsJoint@ apJoint) |
iPhysicsJointHinge | cPhysics_ToJointHinge(iPhysicsJoint@ apJoint) |
iPhysicsJointSlider | cPhysics_ToJointSlider(iPhysicsJoint@ apJoint) |
Function Detail
cPhysics_CreateWorld
iPhysicsWorld@ cPhysics_CreateWorld(bool abAddSurfaceData)
Parameters
- abAddSurfaceData (bool) —
Returns:
- iPhysicsWorld@—
cPhysics_DestroyWorld
void cPhysics_DestroyWorld(iPhysicsWorld@ apWorld)
Parameters
- apWorld (iPhysicsWorld@) —
Returns:
- void
cPhysics_GetImpactDuration
float cPhysics_GetImpactDuration()
Returns:
- float—
cPhysics_GetMaxImpacts
int cPhysics_GetMaxImpacts()
Returns:
- int—
cPhysics_SetImpactDuration
void cPhysics_SetImpactDuration(float afX)
Parameters
- afX (float) —
Returns:
- void
cPhysics_SetMaxImpacts
void cPhysics_SetMaxImpacts(int alX)
Parameters
- alX (int) —
Returns:
- void
cPhysics_ToBody
iPhysicsBody@ cPhysics_ToBody(iEntity3D@ apEntity)
Parameters
- apEntity (iEntity3D@) —
Returns:
- iPhysicsBody@—
cPhysics_ToJointBall
iPhysicsJointBall@ cPhysics_ToJointBall(iPhysicsJoint@ apJoint)
Parameters
- apJoint (iPhysicsJoint@) —
Returns:
- iPhysicsJointBall@—
cPhysics_ToJointHinge
iPhysicsJointHinge@ cPhysics_ToJointHinge(iPhysicsJoint@ apJoint)
Parameters
- apJoint (iPhysicsJoint@) —
Returns:
- iPhysicsJointHinge@—
cPhysics_ToJointSlider
iPhysicsJointSlider@ cPhysics_ToJointSlider(iPhysicsJoint@ apJoint)
Parameters
- apJoint (iPhysicsJoint@) —
Returns:
- iPhysicsJointSlider@—