Problem with Rigidbody2d and Tilemap

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

I’m having a problem with my Rigidbody2d character colliding with the Tilemap edges on a plane surface.

Just to be clear, it has nothing to do with the bounciness (i tried on and off), fricton is zero for tilemap and the character is a Rigidbody2d being controlled inside the _integrate_forces function.

I’ve tried some solutions as you can see, I used a capsule collider for the body and 2 raycast colliders for the “feet” (as some people suggested) it works well for the ground collision, but when my character jumps and hits a wall the same problem happens. Maybe having a raycast collider at all directions could solve this problem, but it dosen’t sound right.

I’ve searched for an answer and i found some people with the same problem as me but never an answer at least not a definitive one, sorry if this has already been solved.

:bust_in_silhouette: Reply From: canlı bahis

get_tree().get_root().get_node(“parent”)

:bust_in_silhouette: Reply From: kidscancode

Unfortunately, this is a known issue. There are several open issues about it on GitHub, sich as this one.