0 votes

If I have objects for example gunmen and cover, such that a gunman can collide with cover, normally for example I would give the gunmen collision layer of 1 and a mask layer of 2, while I would give the cover a collision layer of 2 and a mask layer of 1.

The problem is that I am simulating height in this 2D world by making a variable called elevation. If for example I have a gunman and his elevation is different to that of a tree, then I don't want them to collide, how would I achieve this?

in Projects by (32 points)
retagged by

Please log in or register to answer this question.

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 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 webmaster@godotengine.org with your username.