Documentation

The Complete Guide to SLATE

Paths

Follow Path & Animate On Path

On top of animating an actor’s position manually (in an Animate Properties clip), SLATE also comes with a Path object, as well as the relevant “Follow Path” and “Animate On Path” action clips to move an actor along such a path.

This can sometimes prove useful if you want the same path to be used by many different actors for example, but if that is not the case, please note that animating an actors position/rotation (or any other property) is always better to be done with an Animate Properties clip since motion paths are possible to edit in scene view there as well!

You can create a path from the Unity top menu “Tools/ParadoxNotion/Slate/Extra/Create Bezier Path”. A path can then be used either in the “Follow Path“, or the “Animate On Path” clips, which can both be added in an Actor Action Track.

FollowPath

Pathfinding

SLATE also comes with a “Pathfind To” clip, which will make the actor move to a target position or transform through an automatically generated closest path, which makes much sense for characters. For this clip to work, you need to have a baked Unity NavMesh, but a NavMeshAgent is neither required nor used at all. Like everything else, this is also previewable in the editor. The “Pathfind To” clip can be added to any Actor Action Track.

Pathfinding

 

Yes No Suggest edit
9 of 12 users found this section helpful
Suggest Edit