https://www.youtube.com/watch?v=nF3nsNqEK2w
This pack is meant to be a bare bones implementation with some basic examples to get you going.
You can check the implementation by opening the MazeLevel in the root folder and pressing the marked alphanumerical keys:
Add the a “GuideEffectComponent” to your character blueprint
Add the component to your blueprint, drag off, and search for Spawn Guide Effect
Select either “Spawn Guide Effect” or “Spawn Guide Effect Equidistant Input” depending on whether you want the component to create the equidistant points, or would rather input a list of equidistant points yourself. (This second option in case your path finding algorithm already returns equidistant points)
Apply the path parameters as well as the effect you would like to use. The pack comes with 11 examples, but you should be able to extend those to build your own.
<aside> 💡 Unreal comes with a number of path finding tools. “Find Path to Location Synchronously” is used in the example but feel free to use any of them including your own implementations.
Note : Find Path to Location Synchronously requires a nav mesh to be present in the scene, so make sure to place one!
</aside>
Name | Use |
---|---|
Path Points | An array of points across which you want the effect to be spawned |
Path Length | Total length of the path in units |
Path Height | Z height offset of the path. (Can keep at 0 if the path is already at the desired height) |