how do i choose 1 particular instance as an obstacle in pathfinding?
Hi, after adding a path-finding behavior to your object(lets call it enemy). You go to the event sheet, add a new event - for this I'll use 'On start of layout' and add a new action for 'enemy'. You then scroll down until you see the title "Pathfinding" then you choose 'add obstacle' and you just choose that particular object you want to be an obstacle. That's it!
StormHo try this demo
Just 1 instance,not whole sprite of same type
I'm confused by your question, are you wanting to set an instance already on the screen to be an obstacle in pathfinding, or to spawn one in front of the player and have the Player object treat it as an obstacle in pathfinding, or...?
Develop games in your browser. Powerful, performant & highly capable.
An instance already on screen,particular uid
you mean like this