HPL3/Community/Scripting/Classes/cluxcharmover

From Frictional Wiki
Jump to navigation Jump to search

cLuxCharMover

Fields

cLuxCharMover has no public fields.

Functions

Return Type Function Name Parameters Description
iLuxEntity@ GetEntity
eLuxEntityComponentType GetType
void LoadFromVariables cResourceVarsObject@ apVars
void MoveToPos const cVector3f &in avFeetPos,
bool abSlowDownAndStopAtGoal = false
void TurnToPos const cVector3f &in avFeetPos
void TurnToAngle float afAngle
void TurnToAngles float afYaw,
float afPitch
void TurnInstantlyToPos const cVector3f &in avGoalPos
void TurnInstantlyToAngle float afAngle
void TurnInstantlyToAngle float afYaw,
float afPitch
void StopTurning
int PlayAnimation const tString &in asName,
float afFadeTime = 0.3f,
bool abLoop = false,
bool abPlayTransition = true,
const tString &in asCallback = ""
int PlayTrackAnimation cLuxTrackNode@ apNode
void SetUseMoveStateAnimations bool abX
bool GetUseMoveStateAnimations
void SetTurnedToGoalCallbackFunc const tString& asFunc
float CalculateSpeedMul float afTimeStep
float GetMoveSpeed
float GetWantedSpeedAmount
float GetStuckCounter
float GetMaxStuckCounter
void ResetStuckCounter
void SetMaxForwardSpeed float afX
void SetMaxBackwardSpeed float afX
void SetTurnMinBreakAngle float afX
void SetTurnBreakMul float afX
void SetTurnSpeedMul float afX
void SetTurnMaxSpeed float afX
void SetStoppedToWalkSpeed float afX
void SetWalkToRunSpeed float afX
void SetWalkToStoppedSpeed float afX
void SetRunToWalkSpeed float afX
void SetTurnStoppedToWalkSpeed float afX
void SetTurnWalkToStoppedSpeed float afX
void SetMoveSpeedAnimMul float afX
void SetVerticalMoveSpeedExtraAnimMul float afX
iCharacterBody@ GetCharBody
void SetWallAvoidanceActive bool abX
void SetDynamicObjectAvoidanceActive bool abX
void SetIdleAnimName const tString &in asName
void SetWalkAnimName const tString &in asName
void SetRunAnimName const tString &in asName
void SetBackwardAnimName const tString &in asName
void SetIdleExtraAnimName const tString &in asName
void SetupWallAvoidance float afRadius,
float afSteerAmount,
int alSamples
void SetupDynamicObjectAvoidance float afMaxDistance,
float afMinMass,
float afSteerAmount
void SetupIdleExtra const tString &in asAnimName,
float afMinWait,
float afMaxWait,
bool abPauseProceduralAnims
void SetDirection eLuxCharMoveDirection aDir
void AddSpeedState int alId
void SetSpeedState_Forward float afX
void SetSpeedState_Backward float afX
void SetSpeedState_Sideways float afX
void SetSpeedState_TurnBreakMul float afX
void SetSpeedState_TurnSpeedMul float afX
void SetSpeedState_TurnMaxSpeed float afX
void SetSpeedState_ForwardAcc float afX
void SetSpeedState_ForwardDeacc float afX
void SetSpeedState_SidewayAcc float afX
void SetSpeedState_SidewayDeacc float afX
void SetBankingActive bool abX
void SetBankingAngleMul float afX
void SetBankingMaxAngle float afX
void SetBankingSpeedMul float afX
void SetBankingMaxSpeed float afX
void SetIdleExtraAnimActive bool abX
bool GetIdleExtraAnimActive
void SetSpeedState int alId
void SetUse3DMovement bool abX

Remarks

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!