How to read KinematicBody2D collisions?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AndrewD

I changed the player’s primary node from “Area2D” to “KinematicBody2D” and don’t know how to read collisions.
Before that, I used “_on_Player_area_entered (area):”

on collision player deleted

How to read KinematicBody2D collisions?

:bust_in_silhouette: Reply From: kidscancode

Kinematic bodies detect collisions when moved, not with signals. How exactly you do it depends on which movement method you’re using.

The docs have a complete explanation: