diff --git a/docs/characteranimationinstance.md b/docs/characteranimationinstance.md index 6f93bc8..b3084ac 100644 --- a/docs/characteranimationinstance.md +++ b/docs/characteranimationinstance.md @@ -50,20 +50,74 @@ The animation blueprint contains a USK slot that can be used to pla nullptr - WalkBaseAnimation - The base animation used when the character is walking + WalkForwardBaseAnimation + The base animation used when the character is walking forward UAnimSequence* nullptr - RunBaseAnimation - The base animation used when the character is running + WalkBackwardsBaseAnimation + The base animation used when the character is walking backwards UAnimSequence* nullptr - SprintBaseAnimation - The base animation used when the character is sprinting + WalkLeftBaseAnimation + The base animation used when the character is walking left + UAnimSequence* + nullptr + + + WalkRightBaseAnimation + The base animation used when the character is walking right + UAnimSequence* + nullptr + + + RunForwardBaseAnimation + The base animation used when the character is running forward + UAnimSequence* + nullptr + + + RunBackwardsBaseAnimation + The base animation used when the character is running backwards + UAnimSequence* + nullptr + + + RunLeftBaseAnimation + The base animation used when the character is running left + UAnimSequence* + nullptr + + + RunRightBaseAnimation + The base animation used when the character is running right + UAnimSequence* + nullptr + + + SprintForwardBaseAnimation + The base animation used when the character is sprinting forward + UAnimSequence* + nullptr + + + SprintBackwardsBaseAnimation + The base animation used when the character is sprinting backwards + UAnimSequence* + nullptr + + + SprintLeftBaseAnimation + The base animation used when the character is sprinting left + UAnimSequence* + nullptr + + + SprintRightBaseAnimation + The base animation used when the character is sprinting right UAnimSequence* nullptr @@ -843,10 +897,16 @@ The animation blueprint contains a USK slot that can be used to pla MovementSpeed - The movement speed fo the character + The movement speed of the character float + + MovementDirection + The movement direction of the character multiplied by the movement speed + FVector2D + + bIsCrouching Is the character currently crouching? @@ -919,6 +979,18 @@ The animation blueprint contains a USK slot that can be used to pla FName + + LookAtCenterRotation + The rotation applied to the character to look at the center of the screen + float + + + + LookAtCenterBoneName + The bone to rotate while the character is looking at the center + FName + + bIsSliding Is the character currently sliding? @@ -978,22 +1050,76 @@ The animation blueprint contains a USK slot that can be used to pla UAnimSequence*
The idle animation to play - GetWalkBaseAnimation - Get the base walk animation + GetWalkForwardBaseAnimation + Get the base walk forward animation - UAnimSequence*
The walk animation to play + UAnimSequence*
The walk forward animation to play - GetRunBaseAnimation - Get the base run animation + GetWalkBackwardsBaseAnimation + Get the base walk backwards animation - UAnimSequence*
The run animation to play + UAnimSequence*
The walk backwards animation to play - GetSprintBaseAnimation - Get the base sprint animation + GetWalkLeftBaseAnimation + Get the base walk left animation - UAnimSequence*
The sprint animation to play + UAnimSequence*
The walk left animation to play + + + GetWalkRightBaseAnimation + Get the base walk right animation + + UAnimSequence*
The walk right animation to play + + + GetRunForwardBaseAnimation + Get the base run forward animation + + UAnimSequence*
The run forward animation to play + + + GetRunBackwardsBaseAnimation + Get the base run backwards animation + + UAnimSequence*
The run backwards animation to play + + + GetRunLeftBaseAnimation + Get the base run left animation + + UAnimSequence*
The run left animation to play + + + GetRunRightBaseAnimation + Get the base run right animation + + UAnimSequence*
The run right animation to play + + + GetSprintForwardBaseAnimation + Get the base sprint forward animation + + UAnimSequence*
The sprint forward animation to play + + + GetSprintBackwardsBaseAnimation + Get the base sprint backwards animation + + UAnimSequence*
The sprint backwards animation to play + + + GetSprintLeftBaseAnimation + Get the base sprint left animation + + UAnimSequence*
The sprint left animation to play + + + GetSprintRightBaseAnimation + Get the base sprint right animation + + UAnimSequence*
The sprint right animation to play GetJumpBaseAnimation diff --git a/docs/uskcharacter.md b/docs/uskcharacter.md index af65699..8e44307 100644 --- a/docs/uskcharacter.md +++ b/docs/uskcharacter.md @@ -44,6 +44,11 @@ The USKCharacter uses the following components: The timeline component used for aiming UTimelineComponent* + + LookAtCenterTimeline + The timeline component used to look at the center of the screen + UTimelineComponent* + ## API Reference @@ -517,6 +522,24 @@ The USKCharacter uses the following components: float 25.0f + + bLookAtCenter + Should the character automatically rotate to look at the center of the screen + bool + true + + + MaxLookAtCenterRotation + The maximum rotation that can be applied while looking at the center of the screen before rotating the actor + float + 90.0f + + + LookAtCenterCurve + The float curve used to look at the center of the screen + UCurveFloat* + nullptr + bCanSlide Can the character perform a slide? @@ -702,6 +725,12 @@ The USKCharacter uses the following components: float
The current lean camera roll + + GetLookAtCenterRotation + Get the look at center rotation + + float
The look at center rotation + IsSliding Check if the character is sliding