Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | themeowingdog |
My RigidBody2D player moves fine on regular ground, but on tiles, it mysteriously stops moving when the hitbox hits the edge of the tile. I can jump and land on the edge, and can move then, but when I get 100% into one tile it is stuck there without jumping. I am moving with set_linear_velocity.
Edit: Changing my hitbox from a rectangle to a capsule fixed it, but I would still like to know if there is a way to still use a rectangle on tiles.
there is likely something not working as intended in your project, but there a little bit too few information here to tell.
what kind of game are you referring to? is it a an horizzontal scroll, or a top down?
What is the content of the tile? is it only texture or you included other physic object like bodies or areas?
Andrea | 2021-04-02 09:37