HPL3/Amnesia: Rebirth/Scripting/iPhysicsJoint
< HPL3 | Amnesia: Rebirth | Scripting
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
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 Break
- 3.2 GetAllowPositionReset
- 3.3 GetAngle
- 3.4 GetAngularVelocity
- 3.5 GetChildBody
- 3.6 GetCollideBodies
- 3.7 GetDistance
- 3.8 GetForceSize
- 3.9 GetID
- 3.10 GetLimitAutoSleep
- 3.11 GetName
- 3.12 GetParentBody
- 3.13 GetPinDir
- 3.14 GetPivotPoint
- 3.15 GetStickyMaxLimit
- 3.16 GetStickyMinLimit
- 3.17 GetStiffness
- 3.18 GetType
- 3.19 GetUniqueID
- 3.20 GetVelocity
- 3.21 IsBreakable
- 3.22 IsBroken
- 3.23 RemoveBody
- 3.24 SetAllowPositionReset
- 3.25 SetBreakable
- 3.26 SetCollideBodies
- 3.27 SetLimitAutoSleep
- 3.28 SetMaxLimitSound
- 3.29 SetMinLimitSound
- 3.30 SetMinMoveSpeed
- 3.31 SetMoveSound
- 3.32 SetMoveSpeedType
- 3.33 SetStickyMaxLimit
- 3.34 SetStickyMinLimit
- 3.35 SetStiffness
- 4 References
Fields
iPhysicsJoint has no public fields.
Functions
Details
Break
void Break()
Returns:
- void
GetAllowPositionReset
bool GetAllowPositionReset()
Returns:
- bool—
GetAngle
float GetAngle()
Returns:
- float—
GetAngularVelocity
cVector3f GetAngularVelocity()
Returns:
- cVector3f—
GetChildBody
iPhysicsBody@ GetChildBody()
Returns:
- iPhysicsBody@—
GetCollideBodies
bool GetCollideBodies()
Returns:
- bool—
GetDistance
float GetDistance()
Returns:
- float—
GetForceSize
float GetForceSize()
Returns:
- float—
GetID
tID GetID()
Returns:
- tID—
GetLimitAutoSleep
bool GetLimitAutoSleep()
Returns:
- bool—
GetName
const tString& GetName()
Returns:
- const tString&—
GetParentBody
iPhysicsBody@ GetParentBody()
Returns:
- iPhysicsBody@—
GetPinDir
const cVector3f& GetPinDir()
Returns:
- const cVector3f&—
GetPivotPoint
const cVector3f& GetPivotPoint()
Returns:
- const cVector3f&—
GetStickyMaxLimit
bool GetStickyMaxLimit()
Returns:
- bool—
GetStickyMinLimit
bool GetStickyMinLimit()
Returns:
- bool—
GetStiffness
float GetStiffness()
Returns:
- float—
GetType
ePhysicsJointType GetType()
Returns:
- ePhysicsJointType—
GetUniqueID
int GetUniqueID()
Returns:
- int—
GetVelocity
cVector3f GetVelocity()
Returns:
- cVector3f—
IsBreakable
bool IsBreakable()
Returns:
- bool—
IsBroken
bool IsBroken()
Returns:
- bool—
RemoveBody
SetAllowPositionReset
void SetAllowPositionReset(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetBreakable
void SetBreakable(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCollideBodies
void SetCollideBodies(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetLimitAutoSleep
void SetLimitAutoSleep(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetMaxLimitSound
void SetMaxLimitSound(const tString &in asSound,
float afMinSpeed)
Parameters
- asSound (tString) —
- afMinSpeed (float) —
Returns:
- void
SetMinLimitSound
void SetMinLimitSound(const tString &in asSound,
float afMinSpeed)
Parameters
- asSound (tString) —
- afMinSpeed (float) —
Returns:
- void
SetMinMoveSpeed
void SetMinMoveSpeed(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMoveSound
SetMoveSpeedType
void SetMoveSpeedType(ePhysicsJointSpeed aType)
Parameters
- aType (ePhysicsJointSpeed) —
Returns:
- void
SetStickyMaxLimit
void SetStickyMaxLimit(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetStickyMinLimit
void SetStickyMinLimit(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetStiffness
void SetStiffness(float afX)
Parameters
- afX (float) —
Returns:
- void
References
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api (← links)
- HPL3/Amnesia: Rebirth/Scripting/cLuxProp (← links)
- HPL3/Amnesia: Rebirth/Scripting/iPhysicsBody (← links)
- HPL3/Amnesia: Rebirth/Scripting/iPhysicsWorld (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cLux (← links)
- HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cPhysics (← links)