Freezing Y position

Hello guys. Ive got a little issue with my box player, to visualize this is the game with a simple movement, but sometimes when i go too fast near the walls my box kinda jump a little and it cause my player jump out of the walls and map. i need to restrict Y position of player so he keep having a the same Y and never jump out of the map. i need to set static y=0.5

Hello @smokys! I think this answer of @Leonidas will help you:

How to implement Hill Climb Racing 2D game in PlayCanvas?

2 Likes

Thanks i think it helped)