I messed with collisions (kinematicBody2d)

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

I’ve a KinematicBody2D player, it works correctly, but I come from another engine where I could access to PhysicsContact from a event OnBeginContact which contained all the collision information, such as intersection points, normal, aabb, etc.

that info was useful to perform many mechanics like “jump corner correction” and many others like wall sliding, climbing, etc. with only one collider.
To perform same on Godot (kinematicBody2D) I’ve to add a lot of raytracing/areas2d.

I only want to create a Rect inside the player tree, and recibe events: onBodyEnter(collisionInfo) and know: wich side of the rect is hitting (normal), collision points (the points of intersection. Is there something like that in Godot?

Thanks!