I have a standard basic 3d cube rigidbody with a meshinstance and collisionshape. Long story short, I have turned the collision off with
$"CollisionShape".set_disabled(true)
and have now moved the cube inside
a second 3d cube that still has its collision mode on.
I now want to turn on the original cubes collision box to run
colliding_Objects_Array = get_colliding_bodies()
to basically check via gdscript if the box is colliding with anything. It is returning no value in the array meaning no collision. But is is clearly in
another box. So i'm assuming the get_colliding_bodies() doesn't work quite as i want, could anyone suggest a way to tell if my de-collisioned box is in any sort of contact with anything else?
I don't need it to collide as such but simply to tell me if it could collide i guess if it was set to collide again.
Hope that makes sense, my head is fried 🙂