How to change shape of collision box to non square?

I am trying to encompass certain areas in shapes with collision. Issue being that not all areas are perfect squares. This one for example is slightly skewed. issue being that there is another room on the other side of the wall, so I cannot just take that extra area into a square.

I am looking for a way to modify the shape of the Box collision to match the room better.

image

You can just use more than one box component. The begin overlap event will count them all evenly :slight_smile:

Thank you. It would work for player collision, but I’m mostly using it to check what list of Smart objects are available inside. Which now that I look at it means I’d have to rework everything anyway.
I think it would be smarter to create a tag per shop, add that tag to all smart objects and populate the list of smart objects by looking for SO with that tag. Get rid of boxes for finding stuff inside and instead put tags where they should be.

1 Like