Describes the motion and collision result from PhysicsServer2D.body_test_motion().
Describes the motion and collision result from PhysicsServer2D.body_test_motion().
Returns the unique instance ID of the colliding body's attached Object, if a collision occurred. See Object.get_instance_id().
Returns the colliding body's RID used by the PhysicsServer2D, if a collision occurred.
Returns the colliding body's shape index, if a collision occurred. See CollisionObject2D.
Returns the minimum fraction of the motion needed to collide, if a collision occurred, between 0 and 1.