0 votes

Is there a way to see if 2 3d objects are colliding is code? Without using raycasts

in Engine by (36 points)

yep! it's called signals. Here's the documentation on them, they are pretty straight forward. signal documentation.

1 Answer

0 votes

Depends on the type of 3D object. There are several 3D collision objects, which inherit from CollisionObject - you can whichever one offers the behavior you need for your particular setup.

  • Area - detects overlap with other areas or bodies
  • StaticBody - non-moving obstacle
  • KinematicBody - collisions and manual control
  • RigidBody - controlled by physics engine
by (21,930 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.