0 votes

Quite strangely, it seems that every tile that has a staticbody is set to collision layer 1. Is it possible to change that?

in Engine by (703 points)

Gridmap unfortunately doesn't support collision layer or collision masks yet. That will probably come in 3.0 while 3D is being focused on.

Seems right. I guess I have to reserve the layer 1 to the gridmap.

1 Answer

0 votes

You can change the collision layer of a tilemap with the layers property. I dont't think you can do that per tile.

EDIT: answered too fast. Gridmap indeed doesn't have a setting to change the collision layer yet. Will most likely be available in 3.0.

by (29,092 points)
edited by

Sorry but I'm talking about gridmaps. Tilemaps are for 2D.

Oops I answered too fast. Gridmap doesn't have a setting for this indeed...

Anyone know what's the status of this issue now? Is there a programmatic way to workaround this limitation?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.