Returns a KinematicCollision, which contains information about a collision that occurred during the last call to moveAndSlide or moveAndSlideWithSnap. Since the body can collide several times in a single call to moveAndSlide, you must specify the index of the collision in the range 0 to (getSlideCount - 1).
Returns a KinematicCollision, which contains information about a collision that occurred during the last call to moveAndSlide or moveAndSlideWithSnap. Since the body can collide several times in a single call to moveAndSlide, you must specify the index of the collision in the range 0 to (getSlideCount - 1).