Rigidbody2D collision not working properly

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

I am using godot 3.3.2
I am using rigidbody as player and I only control gravity through button
When rigidbody falls It doesnot stop on collisionshape2d of staticbody
It goes further down and then comes back to perfect collisionn shape
It should be stopping as soon as it collides but it does not.


:bust_in_silhouette: Reply From: NervousBeehive

Well first of all in my opinion I would be using a kinematic body for the player.

Maybe check are they on the right layers and that the collision shape is the right size.