RigidBodyGetCollidingBodies Method |
Returns a list of the bodies colliding with this one. Requires ContactMonitor to be set to true and ContactsReported to be set high enough to detect all the collisions.
Note: The result of this test is not immediate after moving objects. For performance, list of collisions is updated once per frame and before the physics step. Consider using signals instead.
Namespace: Godot
public Array GetCollidingBodies()
[Missing <returns> documentation for "M:Godot.RigidBody.GetCollidingBodies"]