HPL3/Amnesia: Rebirth/Scripting/iPhysicsRope
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 GetActive
- 3.2 GetAttachedEndBody
- 3.3 GetAttachedStartBody
- 3.4 GetAutoMoveAcc
- 3.5 GetAutoMoveActive
- 3.6 GetAutoMoveMaxSpeed
- 3.7 GetAutoMoveSpeed
- 3.8 GetCollide
- 3.9 GetCollideAttachments
- 3.10 GetCollideCharacter
- 3.11 GetCollideFlags
- 3.12 GetCollideRagDoll
- 3.13 GetDamping
- 3.14 GetEndParticle
- 3.15 GetFirstSegmentLength
- 3.16 GetGravityForce
- 3.17 GetMaxIterations
- 3.18 GetMaxTotalLength
- 3.19 GetMinTotalLength
- 3.20 GetMotorActive
- 3.21 GetMotorMaxSpeed
- 3.22 GetMotorMinSpeed
- 3.23 GetMotorSound
- 3.24 GetMotorSoundStartSpeed
- 3.25 GetMotorSoundStopSpeed
- 3.26 GetMotorSpeedMul
- 3.27 GetMotorWantedLength
- 3.28 GetName
- 3.29 GetParticle
- 3.30 GetParticleNum
- 3.31 GetParticleRadius
- 3.32 GetPhysicsActive
- 3.33 GetSegmentLength
- 3.34 GetSlideAmount
- 3.35 GetStartParticle
- 3.36 GetStiffness
- 3.37 GetStrength
- 3.38 GetTotalLength
- 3.39 GetUniqueID
- 3.40 GetUpdateCount
- 3.41 IncUpdateCount
- 3.42 RemoveAttachedBody
- 3.43 RenderDebug
- 3.44 SetActive
- 3.45 SetAttachedEndBody
- 3.46 SetAttachedStartBody
- 3.47 SetAutoMoveAcc
- 3.48 SetAutoMoveActive
- 3.49 SetAutoMoveMaxSpeed
- 3.50 SetAutoMoveSpeed
- 3.51 SetCollide
- 3.52 SetCollideAttachments
- 3.53 SetCollideCharacter
- 3.54 SetCollideFlags
- 3.55 SetCollideRagDoll
- 3.56 SetDamping
- 3.57 SetGravityForce
- 3.58 SetMaxIterations
- 3.59 SetMaxTotalLength
- 3.60 SetMinTotalLength
- 3.61 SetMotorActive
- 3.62 SetMotorMaxSpeed
- 3.63 SetMotorMinSpeed
- 3.64 SetMotorSound
- 3.65 SetMotorSoundStartSpeed
- 3.66 SetMotorSoundStopSpeed
- 3.67 SetMotorSpeedMul
- 3.68 SetMotorWantedLength
- 3.69 SetParticleRadius
- 3.70 SetPhysicsActive
- 3.71 SetSegmentLength
- 3.72 SetSleeping
- 3.73 SetSleepParamters
- 3.74 SetSlideAmount
- 3.75 SetStiffness
- 3.76 SetStrength
- 3.77 SetTotalLength
- 3.78 UpdateConstraints
- 3.79 UpdateLengthConstraint
- 3.80 UpdateLengthConstraint
- 3.81 UpdateLengthConstraint
- 3.82 UpdateLengthConstraintStretch
- 3.83 UpdateParticleCollisionConstraint
- 4 References
Fields
iPhysicsRope has no public fields.
Functions
Details
GetActive
bool GetActive()
Returns:
- bool—
GetAttachedEndBody
iPhysicsBody@ GetAttachedEndBody()
Returns:
- iPhysicsBody@—
GetAttachedStartBody
iPhysicsBody@ GetAttachedStartBody()
Returns:
- iPhysicsBody@—
GetAutoMoveAcc
float GetAutoMoveAcc()
Returns:
- float—
GetAutoMoveActive
bool GetAutoMoveActive()
Returns:
- bool—
GetAutoMoveMaxSpeed
float GetAutoMoveMaxSpeed()
Returns:
- float—
GetAutoMoveSpeed
float GetAutoMoveSpeed()
Returns:
- float—
GetCollide
bool GetCollide()
Returns:
- bool—
GetCollideAttachments
bool GetCollideAttachments()
Returns:
- bool—
GetCollideCharacter
bool GetCollideCharacter()
Returns:
- bool—
GetCollideFlags
uint GetCollideFlags()
Returns:
- uint—
GetCollideRagDoll
bool GetCollideRagDoll()
Returns:
- bool—
GetDamping
float GetDamping()
Returns:
- float—
GetEndParticle
cVerletParticle@ GetEndParticle()
Returns:
- cVerletParticle@—
GetFirstSegmentLength
float GetFirstSegmentLength()
Returns:
- float—
GetGravityForce
const cVector3f& GetGravityForce()
Returns:
- const cVector3f&—
GetMaxIterations
int GetMaxIterations()
Returns:
- int—
GetMaxTotalLength
float GetMaxTotalLength()
Returns:
- float—
GetMinTotalLength
float GetMinTotalLength()
Returns:
- float—
GetMotorActive
bool GetMotorActive()
Returns:
- bool—
GetMotorMaxSpeed
float GetMotorMaxSpeed()
Returns:
- float—
GetMotorMinSpeed
float GetMotorMinSpeed()
Returns:
- float—
GetMotorSound
const tString& GetMotorSound()
Returns:
- const tString&—
GetMotorSoundStartSpeed
float GetMotorSoundStartSpeed()
Returns:
- float—
GetMotorSoundStopSpeed
float GetMotorSoundStopSpeed()
Returns:
- float—
GetMotorSpeedMul
float GetMotorSpeedMul()
Returns:
- float—
GetMotorWantedLength
float GetMotorWantedLength()
Returns:
- float—
GetName
const tString& GetName()
Returns:
- const tString&—
GetParticle
cVerletParticle@ GetParticle(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cVerletParticle@—
GetParticleNum
int GetParticleNum()
Returns:
- int—
GetParticleRadius
float GetParticleRadius()
Returns:
- float—
GetPhysicsActive
bool GetPhysicsActive()
Returns:
- bool—
GetSegmentLength
float GetSegmentLength()
Returns:
- float—
GetSlideAmount
float GetSlideAmount()
Returns:
- float—
GetStartParticle
cVerletParticle@ GetStartParticle()
Returns:
- cVerletParticle@—
GetStiffness
float GetStiffness()
Returns:
- float—
GetStrength
float GetStrength()
Returns:
- float—
GetTotalLength
float GetTotalLength()
Returns:
- float—
GetUniqueID
int GetUniqueID()
Returns:
- int—
GetUpdateCount
int GetUpdateCount()
Returns:
- int—
IncUpdateCount
void IncUpdateCount()
Returns:
- void
RemoveAttachedBody
void RemoveAttachedBody(iPhysicsBody@ apBody,
bool abRemoveContainerFromBody)
Parameters
- apBody (iPhysicsBody@) —
- abRemoveContainerFromBody (bool) —
Returns:
- void
RenderDebug
void RenderDebug(iLowLevelGraphics@ apLowLevel)
Parameters
- apLowLevel (iLowLevelGraphics@) —
Returns:
- void
SetActive
void SetActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetAttachedEndBody
SetAttachedStartBody
SetAutoMoveAcc
void SetAutoMoveAcc(float afX)
Parameters
- afX (float) —
Returns:
- void
SetAutoMoveActive
void SetAutoMoveActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetAutoMoveMaxSpeed
void SetAutoMoveMaxSpeed(float afX)
Parameters
- afX (float) —
Returns:
- void
SetAutoMoveSpeed
void SetAutoMoveSpeed(float afX)
Parameters
- afX (float) —
Returns:
- void
SetCollide
void SetCollide(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCollideAttachments
void SetCollideAttachments(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCollideCharacter
void SetCollideCharacter(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCollideFlags
void SetCollideFlags(uint alX)
Parameters
- alX (uint) —
Returns:
- void
SetCollideRagDoll
void SetCollideRagDoll(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetDamping
void SetDamping(float afX)
Parameters
- afX (float) —
Returns:
- void
SetGravityForce
SetMaxIterations
void SetMaxIterations(int alX)
Parameters
- alX (int) —
Returns:
- void
SetMaxTotalLength
void SetMaxTotalLength(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMinTotalLength
void SetMinTotalLength(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMotorActive
void SetMotorActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetMotorMaxSpeed
void SetMotorMaxSpeed(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMotorMinSpeed
void SetMotorMinSpeed(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMotorSound
SetMotorSoundStartSpeed
void SetMotorSoundStartSpeed(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMotorSoundStopSpeed
void SetMotorSoundStopSpeed(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMotorSpeedMul
void SetMotorSpeedMul(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMotorWantedLength
void SetMotorWantedLength(float afX)
Parameters
- afX (float) —
Returns:
- void
SetParticleRadius
void SetParticleRadius(float afX)
Parameters
- afX (float) —
Returns:
- void
SetPhysicsActive
void SetPhysicsActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSegmentLength
void SetSegmentLength(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSleeping
void SetSleeping(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSleepParamters
void SetSleepParamters(float afSleepCheckInterval,
float afSleepCheckDistance,
int alSleepCountMax)
Parameters
- afSleepCheckInterval (float) —
- afSleepCheckDistance (float) —
- alSleepCountMax (int) —
Returns:
- void
SetSlideAmount
void SetSlideAmount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetStiffness
void SetStiffness(float afX)
Parameters
- afX (float) —
Returns:
- void
SetStrength
void SetStrength(float afX)
Parameters
- afX (float) —
Returns:
- void
SetTotalLength
void SetTotalLength(float afX)
Parameters
- afX (float) —
Returns:
- void
UpdateConstraints
void UpdateConstraints()
Returns:
- void
UpdateLengthConstraint
void UpdateLengthConstraint(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afLength)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afLength (float) —
Returns:
- void
UpdateLengthConstraint
void UpdateLengthConstraint(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afLength,
float afStiffness)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afLength (float) —
- afStiffness (float) —
Returns:
- void
UpdateLengthConstraint
void UpdateLengthConstraint(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afMinLength,
float afMaxLength,
float afStiffness)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afMinLength (float) —
- afMaxLength (float) —
- afStiffness (float) —
Returns:
- void
UpdateLengthConstraintStretch
void UpdateLengthConstraintStretch(cVerletParticle@ apP1,
cVerletParticle@ apP2,
float afLength,
float afStiffness)
Parameters
- apP1 (cVerletParticle@) —
- apP2 (cVerletParticle@) —
- afLength (float) —
- afStiffness (float) —
Returns:
- void
UpdateParticleCollisionConstraint
void UpdateParticleCollisionConstraint(cVerletParticle@ apPart,
const cVector3f &in avPrevPos,
float afRadius)
Parameters
- apPart (cVerletParticle@) —
- avPrevPos (cVector3f) —
- afRadius (float) —
Returns:
- void