0 votes

Hye everyone,

Do you know what are the equivalents for Godot of Physics.OverlapBox and Physics.CheckSphere found in unity? I'm having trouble understanding how to get a list of all the objects that are in the overlap.

Good Day,

Godot version V 3.4.3
in Engine by (86 points)

Sorry can you explain how those two node you mentioned works so I can tell you the godot equivalent to them

I have put the information below.

1 Answer

0 votes

Thank you,
Physics.OverlapBox : return a array of Colliders that overlap with the given box.

Physics.CheckSphere : Returns true if there are any colliders overlapping the sphere defined by position and radius in world coordinates (a collison mask can be included or excluded).

Good Day,

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