Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: kaniballo on July 29, 2022, 06:17:59 PM

Title: NavMesh Agent Draw Path using Line Renderer.
Post by: kaniballo on July 29, 2022, 06:17:59 PM
Hi, here FSM Action to calculate a path between NavMesh Agent GameObject and mouse click, draw path before it is needed, set end path marker prefab(optional).
Usage;
Put thise action on some GameObject (sphere,box) - action create:
LineRender, NavMesh Agent, and care for mouse click, raycast, set destination, draw line, activate/deactivate end path marker prefab.