What's the best way to handle slopes for a platfomer game using Box2D
Posted
by
songokuhd
on Game Development
See other posts from Game Development
or by songokuhd
Published on 2012-10-16T23:16:06Z
Indexed on
2012/10/17
5:26 UTC
Read the original article
Hit count: 176
I would like to know if there is any known solution for handling the player's movement on slopes using Box2D engine.
I tried to do it using a circle as the player. Everything was fine until I tried to walk on slopes, the main problem is that due to gravity, the circle does not stop on the slope.
Please if somebody has tried this before I'll appreciate it. If you have a better solution without the physics engine would be fine for me too.
Thank you.
© Game Development or respective owner