REFERENCEANIMATION
UCISRootMotionMovementTask
An async action that moves a character to a point with a root motion source, and reports when the move ends. Create it with RootMotionMoveTo. Call FinishMovement (StopMovement in Blueprints) to end the move before it arrives.
Functions
Moves Character to TargetLocation (put on the ground found below it by CollisionCheckTraceType, plus VerticalOffset) with a root motion source at its MaxWalkSpeed or at CustomMoveSpeed. Finishes when the movement ends or after TimeOut seconds, then OnTimeOut follows. A move that needs longer than TimeOut ends at the time-out, before the character arrives. With a speed of 0 the character stays where it is until TimeOut. MoveToDistance is not used; kept for compatibility
- Category
- CIS|RootMotionMovement
Stops the move: removes its root motion source, restores the movement mode and, when a custom speed was set, the walk speed. Then it runs OnRootMotionMovementFinished and releases the task. Does nothing when the move has already ended. Shown as StopMovement in Blueprints.
- Category
- CIS|RootMotionMovement
Events
Runs when the move has started and its root motion source is applied. The task is passed, so that a Blueprint can keep it.
- Category
- CIS|Delegates
Runs when the move ends: when the character arrives, when StopMovement ends it, or when the character is no longer valid. It runs before OnTimeOut when the time-out ends the move.
- Category
- CIS|Delegates
Runs when TimeOut ends the move before the character arrived. It runs after OnRootMotionMovementFinished.
- Category
- CIS|Settings