scripting:components:characteranimationcomponent
Table of Contents
CharacterAnimationComponent
class: CharacterAnimationComponent
Parent Class: BaseAnimPhysComponent
Location: scripts/Game/generated/Character/CharacterAnimationComponent.c
—
Common usage
wip
Functions
SetAnimationLayerTPP()
SetAnimationLayerFPP()
GetCollisionMinMax()
GetCollisionMinMax(ECharacterStance whichStance, out vector outMin, out vector outMax);
Returns the collision box of the character in a specific stance. param outMin Minimum point of the collision box. param outMax Maximum point of the collision box. return Returns true if collision box vectors have been filled.
Return type: bool
GetMovementState()
GetMovementState(out CharacterMovementState movementState);
Return type: void
IsPrimaryTag()
IsPrimaryTag(AnimationTagID tagID);
Return type: bool
IsSecondaryTag()
IsSecondaryTag(AnimationTagID tagID);
Return type: bool
GetMaxSpeed()
GetMaxSpeed(float inputForward, float inputRight, int moveType);
Returns max speed for provided model direction and movement type
Return type: float
GetTopSpeed()
GetTopSpeed(int moveType = -1, bool ignoreStance = false);
Returns top speed for provided moveType To get absolute top speed -1 can be provided as a move type parameter
Return type: float
GetInertiaSpeed()
scripting/components/characteranimationcomponent.txt · Last modified: 2022/08/10 22:52 by jerryhopper