0 votes

Hey folks,

in my 3D RTS game I have several layers (e. g. in a house with several floors) and an isometric camera. I can move my chars by clicking on the ground of the floors using a baked navigation mesh.
The problem is: I'd like to disable certain layers (for example, the upper floor) to navigate to lower floors, but keep all the collisions for the chars. I just need to turn off the visibility and disable raycast, to enable clicking on the lower floor. When turning of "Input Ray Pickable" for the floor, it still responds to the mouse click.

Any ideas for a good approach for that?


Godot version 3.3.2
in Engine by (17 points)

1 Answer

+1 vote

have a look here:

the collision mask is your way to go. Just give every floor a unique masking-bit

by (4,078 points)
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.