RigidBody2d goes through the wall (TileMap)

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

In my 2d game I’ve TileMap to decorate the world. The collision between the player and objects are just fine except one thing.

One thing that many others also asked but didn’t get a proper solution. Most of them I’ve seen just moved to KinematicBody2d. The problem is that when the player (KinematicBody2d) pushes a RigidBody2d, that body goes through the wall if the force is more.

I’ve no script and default values set for RigidBody and TileMap.
How can I make that the RigidBody don’t get through the wall when pushed heavily by anything?

this is just one of the reasons why godot sucks at 3d. if the rigid bodies are supposed to be tiny don’t make them collide with the kinematic bodies at all, else you could do what the video here does:

zen3001 | 2021-02-09 14:46