Porformance?: Tilemap auto-generated collision shapes VS game object basic shapes

I was wondering if performance will be improved by using game object basic shapes to replace each auto-generated collision shapes on tilemaps.

Why? Because, since current tilemap collision shapes can’t be edited manually, and doesn’t support concave shapes, I have to create at run-time game objects with collision shapes to fix these cases. You can see on the image bellow, I currenlty have 4 cases, then I think why not replace all, when all my tiles collision can be represented with basic shapes: boxes and spheres.

That’s why I’m trying to decide, if fully ignore the auto-generated collision and build my own, if I can fix concave cases and gain performance.

Thanks in advance for your comments! :slight_smile:

You will have to test and profile it since probably no one else has yet! I can’t imagine they would be much different though.

2 Likes