Want to add wall collision of arbitrary shape at any location in a single illustration

Example: Instead of background and wall collisions created by map tiles, if a maze is drawn within a single image, is it possible to set wall collisions of arbitrary shapes (those that interfere with other AGM objects) on the maze’s wall parts?
(In Godot, I have confirmed that wall collisions can be created with arbitrary shapes.)

You can create collisions of any shape using CollisionPolygon2D, add it as a child of StaticBody2D, include it in layers such as BaseLayer or WallLayer, select the StaticBody2D, and set the collision layers and masks appropriately to enable wall collision detection.

5 Likes

As you instructed, I have tried setting it up here as well.
I was able to set it up exactly as intended!

Thank you for your reply and guidance! :man_bowing:

2 Likes