HPL3/SOMA/Scripting/iCharacterBody

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting
Revision as of 15:59, 6 August 2020 by Abion47 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Fields

iCharacterBody has no public fields.

Functions

Return Type Function Name Parameters Description
int AddExtraSize const cVector3f &in avSize
void AddForce const cVector3f& avForce
void AddForceVelocity const cVector3f &in avVel
void AddPitch float afX
void AddRoll float afX
void AddYaw float afX
bool CheckCharacterFits const cVector3f& avPosition,
bool abFeetPosition,
int alSizeIdx,
cVector3f& avOutPushBackVec
bool CheckRayIntersection const cVector3f& avStart,
const cVector3f& avEnd,
float& afOutDistance,
cVector3f& avOutNormalVec
bool GetAccurateClimbing
int GetActiveSize
float GetAirFriction
cCamera@ GetCamera
cVector3f GetCameraPosAdd
int GetCameraSmoothPosNum
bool GetCameraUpdateActive
bool GetCameraUseSmoothing
float GetCharacterMaxPushMass
float GetCharacterPushForce
bool GetCharacterPushIn2D
float GetClimbForwardMul
float GetClimbHeightAdd
bool GetCollideCharacter
uint GetCollideFlags
float GetConstantContactForceMul
iPhysicsBody@ GetCurrentBody
iCollideShape@ GetCurrentShape
cVector3f GetCustomGravity
bool GetCustomGravityActive
bool GetDeaccelerateMoveSpeedInAir
bool GetDisableDiagSpeedBoost
iEntity3D@ GetEntity
const cMatrixf& GetEntityOffset
float GetEntityPitchAmount
const cMatrixf& GetEntityPostOffset
int GetEntitySmoothPosNum
int GetEntitySmoothYPosNum
bool GetEntityUseSmoothing
cVector3f GetFeetPosition
cVector3f GetForce
cVector3f GetForceVelocity
const cVector3f& GetForward
iPhysicsBody@ GetGravityAttachedBody
iPhysicsMaterial@ GetGravityCollideMaterial
float GetGroundAngleMin
float GetGroundFriction
tID GetID
const cVector3f& GetLastGroundNormal
const cVector3f& GetLastPosition
float GetMass
float GetMaxContactForcePerMassUnit
float GetMaxGravitySpeed
float GetMaxNegativeMoveSpeed eCharDir aDir
float GetMaxNoSlideSlopeAngle
int GetMaxOnGroundCount
float GetMaxPositiveMoveSpeed eCharDir aDir
float GetMaxPushForce
float GetMaxPushMass
float GetMaxStepSize
float GetMaxStepSizeInAir
float GetMoveAcc eCharDir aDir
float GetMoveDeacc eCharDir aDir
bool GetMovedLastUpdate
const cMatrixf& GetMoveMatrix
float GetMoveOppositeDirAccMul eCharDir aDir
float GetMoveSpeed eCharDir aDir
const tString& GetName
bool GetPhysicsBodyActive
float GetPitch
const cVector3f& GetPosition
float GetPushImpulse
bool GetPushIn2D
const cVector3f& GetRight
float GetRoll
bool GetRotateYawWhenGravityAttached
iCollideShape@ GetShape int alIdx
const cVector3f& GetSize
float GetStepClimbSpeed
bool GetStickToSlope
bool GetTestCollision
const cVector3f& GetUp
bool GetUpdateCameraVelocity
bool GetUpdateCameraYaw
bool GetUseEntitySmoothYPos
cVector3f GetVelocity float afFrameTime
float GetVelocityContactForceMul
float GetYaw
bool GravityIsActive
bool IsActive
bool IsClimbing
bool IsOnGround
void Move eCharDir aDir,
float afMul
void ResetClimbing
void SetAccurateClimbing bool abX
void SetActive bool abX
void SetActiveSize int alNum
void SetAirFriction float afX
void SetCamera cCamera@ apCam
void SetCameraPosAdd const cVector3f& avAdd
void SetCameraSmoothPosNum int alNum
void SetCameraUpdateActive bool abX
void SetCameraUseSmoothing bool abX
void SetCharacterMaxPushMass float afX
void SetCharacterPushForce float afX
void SetCharacterPushIn2D bool abX
void SetClimbForwardMul float afX
void SetClimbHeightAdd float afX
void SetCollideCharacter bool abX
void SetCollideFlags uint alX
void SetConstantContactForceMul float afX
void SetCustomGravity const cVector3f &in avCustomGravity
void SetCustomGravityActive bool abX
void SetDeaccelerateMoveSpeedInAir bool abX
void SetDisableDiagSpeedBoost bool abX
void SetEntity iEntity3D@ apEntity
void SetEntityOffset const cMatrixf& a_mtxOffset
void SetEntityPitchAmount float afX
void SetEntityPostOffset const cMatrixf& a_mtxOffset
void SetEntitySmoothPosNum int alNum
void SetEntitySmoothYPosNum int alX
void SetEntityUseSmoothing bool abX
void SetFeetPosition const cVector3f &in avPos,
bool abSmooth
void SetForce const cVector3f& avForce
void SetForceVelocity const cVector3f &in avVel
void SetGravityActive bool abX
void SetGroundAngleMin float afX
void SetGroundFriction float afX
void SetMass float afMass
void SetMaxContactForcePerMassUnit float afX
void SetMaxGravitySpeed float afX
void SetMaxNegativeMoveSpeed eCharDir aDir,
float afX
void SetMaxNoSlideSlopeAngle float afAngle
void SetMaxOnGroundCount int alX
void SetMaxPositiveMoveSpeed eCharDir aDir,
float afX
void SetMaxPushForce float afX
void SetMaxPushMass float afX
void SetMaxStepSize float afSize
void SetMaxStepSizeInAir float afSize
void SetMoveAcc eCharDir aDir,
float afX
void SetMoveDeacc eCharDir aDir,
float afX
void SetMoveOppositeDirAccMul eCharDir aDir,
float afX
void SetMoveSpeed eCharDir aDir,
float afX
void SetPhysicsBodyActive bool abX
void SetPitch float afX
void SetPosition const cVector3f &in avPos,
bool abSmooth
void SetPushImpulse float afX
void SetPushIn2D bool abX
void SetRoll float afX
void SetRotateYawWhenGravityAttached bool abX
void SetStepClimbSpeed float afX
void SetStickToSlope bool abX
void SetTestCollision bool abX
void SetUpdateCameraVelocity bool abX
void SetUpdateCameraYaw bool abX
void SetUseEntitySmoothYPos bool abX
void SetVelocityContactForceMul float afX
void SetYaw float afX
void StopMovement
void Update float afTimeStep

References

See all references...