Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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!
Develop games in your browser. Powerful, performant & highly capable.
StormHo try this demo
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...?
you mean like this