This package uses the component GuidedAction to define how each of the included actions.

The GuidedAction component defines how the player will move through a defined path, which animations will use and how it will transition in and out of this movement.

The GuidedAction uses a path assigned as MovementPath. The movement can go from 0 to 1, or from 1 to 0 if the starting point is closer to the end. When the movmement goes from 0 to 1 is called Reversed movement .

Animation

image.png

Guided actions can use a single animation that will be played during the movement or a simple blend shape which require a positive and negative clips.

The blendshape is driven by the normalized movement speed, which will automatically blend between the positive, neutral and negative clip.

When the movement happens in reverse (from the end of the path to the start), you might want to tick “InvertBlendShapeWhenReversed”

Movement

image.png

Movement can be automatic or input driven. This can be specified with the MovementType.

The movement will progress linearly from 0 to 1 unless a custom curve is given in MovementProgress.

The movement will begin at 0.5 units along the path. This value needs to be greated than 0 for Input driven movement to allow the player to exit the path from the starting point.

Exit points are optional and if given will act as the exit location and rotation of the character during the exit transition.

Rotation

image.png

During the path movement, the player can be aligned in different ways: