Document : CT Animal Movement Component
-
Video Tutorial
Function
Input Move Forward/Backward
This function controls speed by timeline
Forward Timeline
/CT_Components/RidingSystem/Components/Timeline/CT_Timeline_Forward
Max speed1000
and time is5 seconds
Config Default Description Speed Scale Forward 1.2 Default max speed 1000
When the value is1.2
the max speed is1200
Timeline Forward Play Rate 2 Acceleration time default is 5 seconds
When the value is2
, the acceleration time is2.5 seconds
Timeline Forward Reverse Play Rate 2 Deceleration time default is 5 seconds
When the value is2
, the deceleration time is2.5 seconds
Keep Moving 150 When the speed is greater than 150, it will keep the current speed even if it stops accelerating Backward timeline
Path: /CT_Components/RidingSystem/Components/Timeline/CT_Timeline_BackwardMax speed is
-100
and time is1 seconds
Config Default Description Speed Scale Backward 1.5 Default max speed 100
When the value is1.5
the max speed is150
Timeline Backward Play Rate 4 Acceleration time default is 1 seconds
When the value is4
, the acceleration time is0.25 seconds
Timeline Backward Reverse Play Rate 4 Deceleration time default is 1 seconds
When the value is4
, the deceleration time is0.25 seconds
Function
Input Move Right/Left
This function controls rotate by timelineRotation Timeline
Path: /CT_Components/Riding/Components/Timeline/CT_Timeline_RotationAngle is
45
and time is1 seconds
Config Default Description Timeline Rotation Play Rate 2 Default 1 seconds
When the value is2
the max speed is0.5 seconds
Timeline Rotation Reverse Play Rate 4 Default 1 seconds
When the value is4
the max speed is0.25 seconds
Rotation Reverse Alpha 1 Rotate during Timeline Rotation Reverse
no rotation when value is0
Turning Deceleration 0.9 Decelerate when turning, When the value is 1
to not decelerateTurning Deceleration Speed Lower Limit 500 Turning Deceleration
does not trigger when speed is less than500
Rotation Rate 40 Rotation rate Rotation Rate InPlace 40 Rotation rate when in place (Mainly to match the turn animation)
Turning in Place Speed 40 Add speed when turning in place (Mainly to match the turn animation)
Using custom timeline
Function
ClearTimelineForward/Backward
Clear Forward & Backward timeline. This function will stop character immediately
Function
ClearTimelineRotation
Clear Rotation timeline
Function
ClearTimeline
Call
ClearTimelineForward/Backward
andClearTimeline
Function
Reset Control Rotation
For example, Horse Animset has an animation
Horse_RM_Turn_Neigh_Left
It's rotated 180° should be used like thisFunction
Stop Moving
Deceleration and stop the character
Function
Simple Move To Actor
For example, call horse. When the
Acceptance Radius
value is-1
it will always followFunction
Simple Move To Location
Function
Stop Simple Move to
Cancel
Simple Move to XXX
and stopFunction
Is Simple Moving
Is currently in
Simple Move to XXX
Event Despatch
Event
OnSimpleMoveTo
When
Simple Move to XXX
is called`Event
OnSimpleMoveToComplete
When
Simple Move to XXX
is completeAdd Animation
**CT Anim Graph Animal Movement **
Params Type Description CT_Cmpt_AnimalMovement Component Can be ignored if owner adds CT_Cmpt_AnimalMovement
Movement BS Blendspace X = Rotation Y = Speed Idle Anim Animation Idle Animation Movement Blendspace example
CT Anim Graph Animal Jump
Params Type Description CT_Cmpt_AnimalMovement Component Can be ignored if owner adds CT_Cmpt_AnimalMovement
Jumps Map Play different animations based on speed Jumps
ExampleParams Type Description Key Float Speed Value -> Jump Start Animation Jump start animation Value -> Jump Land Animation Jump landing animation Value -> Jump Fall Blendspace 1D Jump fall animation