Godot Version
4.3
Question
Please see this video https://youtu.be/hYBxb37lefI?si=0sEgZdWx_0Zh1Vis&t=63 at 63rd second onward up to the end of the stage.
In this “Ghost House” stage, the floor, wall, etc. are partially visually visible, and the game slowly guides you toward the end of the stage. It’s like having an invisible 3D object that intersects the ghost house, and if the 3D object intersected the floors, walls, etc., those parts become visible.
What I wanted is something similar. I have my own solid floors, walls, etc. in my game, but unlike the video above, they are all visible, and I have an Area3D
which is a 3D sphere as a child of the player scene. Whenever the player moves around, all the solid floors, walls, etc. will be highlighted like at the 3:06 of this video: https://youtu.be/x0-VWkmpGZ0?si=9it97tllgExuFyI9&t=186
How to do this in Godot? So let’s split this to 2 questions:
- I have my own Area3D already. How can I use it on other solids?
- How can I do the highlight special effect on the 3D models that intersect my Area3D?