0 votes

I'm working with GridMaps and I'm trying to figure out how to handle looking inside of buildings and commanding units with mouse clicks.

I saw something about a spatial material property called Distance Fade that can make meshes transparent, but I don't know if that'll allow the raycast from the camera to pass through those transparent meshes. I also have no idea how to implement it in a clean manner. So I haven't approached it yet.

Any ideas on how to cleanly implement a similar method of handling interiors as the mentioned games?

I'm really hoping I don't have to have a separate GridMap for each Y layer and toggle visibility and masks.

Godot version 3.3
in Engine by (40 points)

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 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.