mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Merge pull request #3942 from skyace65/KinematicCollision
Add information on how get_slide_count counts collisions
This commit is contained in:
@@ -130,6 +130,8 @@ and ``get_slide_collision()``:
|
||||
var collision = get_slide_collision(i)
|
||||
print("I collided with ", collision.collider.name)
|
||||
|
||||
.. note:: `get_slide_count()` only counts times the body has collided and changed direction.
|
||||
|
||||
See :ref:`KinematicCollision2D <class_KinematicCollision2D>` for details on what
|
||||
collision data is returned.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user