playMaker

Author Topic: Need help setting up ai in Playmaker  (Read 1571 times)

Jp47

  • Playmaker Newbie
  • *
  • Posts: 3
Need help setting up ai in Playmaker
« on: January 18, 2022, 04:14:38 AM »
Hi, All!

I am currently working on a project where I want to spawn enemies from a certain point in the map and have them start chasing the player as the player collects items in the scene. I've been trying to look all over the place for ways to do this but can't seem to get it to work correctly. I'm trying to build my game using no line-code, that is why I've resorted to Playmaker. Does anyone have any idea how to get this working using Playmaker?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Need help setting up ai in Playmaker
« Reply #1 on: January 18, 2022, 07:53:53 AM »
Hi, which part you have troubles with?

ch1ky3n

  • Full Member
  • ***
  • Posts: 208
Re: Need help setting up ai in Playmaker
« Reply #2 on: January 18, 2022, 02:31:28 PM »
sounds like a pathfinding
If your game is 3D, you can use Unity NavMesh, to create a path toward the player and chase it (assume your game include a wall/mazes)

Jp47

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Need help setting up ai in Playmaker
« Reply #3 on: January 19, 2022, 01:56:07 PM »
Hi, which part you have troubles with?

I am having problems with the pathfinding part specifically. My game is 2D so I don't quite understand if NavMesh is usable here.