system
September 17, 2020, 4:07am
1
Attention
Topic was automatically imported from the old Question2Answer platform.
Asked By
J.B Stepan
Is there a way to see if 2 3d objects are colliding is code? Without using raycasts
yep! it’s called signals . Here’s the documentation on them, they are pretty straight forward. signal documentation .
Millard | 2020-09-17 04:28
system
September 17, 2020, 4:10am
2
Reply From:
kidscancode
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