HPL3/Amnesia: Rebirth/Scripting/cVerletParticle
< 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
Fields
cVerletParticle has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | AddForce(const cVector3f &in avForce) |
void | AddPosition(const cVector3f &in avAdd, bool abSetPrevPos) |
float | GetInvMass() |
cVector3f | GetPosition() |
cVector3f | GetPrevPosition() |
cVector3f | GetSmoothPosition() |
void | SetInvMass(float afInvMass) |
void | SetPosition(const cVector3f &in avPos, bool abSetPrevPos) |
void | SetPrevPosition(const cVector3f &in avPos) |
void | SetSmoothPosition(const cVector3f &in avPos) |
Details
AddForce
AddPosition
void AddPosition(const cVector3f &in avAdd,
bool abSetPrevPos)
Parameters
- avAdd (cVector3f) —
- abSetPrevPos (bool) —
Returns:
- void
GetInvMass
float GetInvMass()
Returns:
- float—
GetPosition
const cVector3f& GetPosition()
Returns:
- const cVector3f&—
GetPrevPosition
const cVector3f& GetPrevPosition()
Returns:
- const cVector3f&—
GetSmoothPosition
const cVector3f& GetSmoothPosition()
Returns:
- const cVector3f&—
SetInvMass
void SetInvMass(float afInvMass)
Parameters
- afInvMass (float) —
Returns:
- void
SetPosition
void SetPosition(const cVector3f &in avPos,
bool abSetPrevPos)
Parameters
- avPos (cVector3f) —
- abSetPrevPos (bool) —
Returns:
- void