playMaker

Author Topic: NavMesh Agent Draw Path using Line Renderer.  (Read 1285 times)

kaniballo

  • Playmaker Newbie
  • *
  • Posts: 10
NavMesh Agent Draw Path using Line Renderer.
« 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.