Hello, I’m new to GDevelop. This’s they first time I’m trying to create an indie game by myself so have lots questions to ask.
I’m experimenting a top view game which a character can be moved to eight different angles. I put two rocks in the map and have set their behaviour to Obstacle of Pathfinding. But my character still can pass through them without any block. Could you help me to figure out where I did wrong in setting or is there any thing I missed in the Event Scene.
The pathfinding obstacle behavior only works with the pathfinding behavior. In that case, you would click/tap somewhere and Player would go there on his own.
If you want to move with the arrows and avoid the rock, use the separate action, as advised above:
Thank you, this works for me! My bad I didn’t understand the same solution provided by Arthuro555.
Also thank you for explaining the pathfinding&pathfinding obstacle for me, I misunderstood the behaviour
However, here I encountered another issue.
My character indeed gets blocked while he’s walking towards the rock, but the blocking area is way bigger than the rock itself. (Like the screenshot bellow, the man is getting blocked there which is far away from rock).
How can I edit it so that the character can only get block when he touches the rock’s edge?