0 votes

Hi, so starting from the beginning, my game uses a lot of 3D Areas that utilize signals like "input event" and "mouse entered/exited". I recently ran into an issue where my game captures the mouse, which means that these areas no longer detect input from the mouse. So I decided that I should probably make a Raycast projected from the camera and see if I can use that.

I haven't used Raycasts before much so I'm having some trouble figuring out what I should do from the docs. Is there any way an Area 3D can detect when a Raycast has entered it, and better yet, still detect input (like mouse clicks) when the Raycast is inside it? Any pointers would be appreciated.

Godot version v3.3 Stable
in Engine by (20 points)

1 Answer

0 votes

raycast has a collide with property, that lets you set if it should collide with an area or body

by (52 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 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.