KinematicBodyGetSlideCollision Method |
Returns a KinematicCollision, which contains information about a collision that occurred during the last call to MoveAndSlide(Vector3, NullableVector3, Boolean, Int32, Single, Boolean) or MoveAndSlideWithSnap(Vector3, Vector3, NullableVector3, Boolean, Int32, Single, Boolean). Since the body can collide several times in a single call to MoveAndSlide(Vector3, NullableVector3, Boolean, Int32, Single, Boolean), you must specify the index of the collision in the range 0 to (GetSlideCount - 1).
Namespace: Godot
public KinematicCollision GetSlideCollision( int slideIdx )
[Missing <param name="slideIdx"/> documentation for "M:Godot.KinematicBody.GetSlideCollision(System.Int32)"]
[Missing <returns> documentation for "M:Godot.KinematicBody.GetSlideCollision(System.Int32)"]