Raycast colliding issue with the TileMap

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

My player’s raycast is not detecting the TileMaps and stucks in falling animation, looking for help. I am not sure which codes or any other informations i should share in advance. Can quickly provide them if asked.
Player in TileMap

Player in StaticBody

:bust_in_silhouette: Reply From: SnapCracklins

By chance did you draw the collision shape in the tilemaps for said tile?
Also, you could skip the RayCast and just tie the animation change to when position.y of the player changes?

I draw the collision shape i think there is a misunderstanding with my explanation. My character does not pass through the tilemap, he stays on it, but he stuck on air when he is on top of a TileMap. (not just falling animation, he also cannot do the moves he normally cant do on air like jumping)

lebenbrent | 2022-03-21 20:26