Result from a 3D body motion test.
This class contains the motion and collision result from [method PhysicsServer3D.body_test_motion].
Returns the colliding body's attached [Object] given a collision index (the deepest collision by default), if a collision occurred.
Returns the unique instance ID of the colliding body's attached [Object] given a collision index (the deepest collision by default), if a collision occurred. See [method Object.get_instance_id].
Returns the colliding body's [RID] used by the [PhysicsServer3D] given a collision index (the deepest collision by default), if a collision occurred.
Returns the colliding body's shape index given a collision index (the deepest collision by default), if a collision occurred. See [CollisionObject3D].
Returns the colliding body's velocity given a collision index (the deepest collision by default), if a collision occurred.
Returns the number of detected collisions.
Returns the length of overlap along the collision normal given a collision index (the deepest collision by default), if a collision occurred.
Returns the moving object's colliding shape given a collision index (the deepest collision by default), if a collision occurred.
Returns the colliding body's shape's normal at the point of collision given a collision index (the deepest collision by default), if a collision occurred.
Returns the point of collision in global coordinates given a collision index (the deepest collision by default), if a collision occurred.
Returns the maximum fraction of the motion that can occur without a collision, between [code]0[/code] and [code]1[/code].
Returns the minimum fraction of the motion needed to collide, if a collision occurred, between [code]0[/code] and [code]1[/code].
Returns the moving object's remaining movement vector.
Returns the moving object's travel before collision.