Collision data for [method PhysicsBody3D.move_and_collide] collisions.
Contains collision data for [method PhysicsBody3D.move_and_collide] collisions. When a [PhysicsBody3D] is moved using [method PhysicsBody3D.move_and_collide], it stops if it detects a collision with another body. If a collision is detected, a [KinematicCollision3D] object is returned.
This object contains information about the collision, including the colliding object, the remaining motion, and the collision position. This information can be used to calculate a collision response.
Returns the collision angle according to [code]up_direction[/code], which is [code]Vector3.UP[/code] by default. This value is always positive.
Returns the colliding body's attached [Object] given a collision index (the deepest collision by default).
Returns the unique instance ID of the colliding body's attached [Object] given a collision index (the deepest collision by default). 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).
Returns the colliding body's shape given a collision index (the deepest collision by default).
Returns the colliding body's shape index given a collision index (the deepest collision by default). See [CollisionObject3D].
Returns the colliding body's velocity given a collision index (the deepest collision by default).
Returns the number of detected collisions.
Returns the moving object's colliding shape given a collision index (the deepest collision by default).
Returns the colliding body's shape's normal at the point of collision given a collision index (the deepest collision by default).
Returns the point of collision in global coordinates given a collision index (the deepest collision by default).
Returns the moving object's remaining movement vector.
Returns the moving object's travel before collision.