Page 1 of 1


Posted: Wed Mar 27, 2019 2:43 am
Hi iforce2d, I wanted to see if any here can give me some guidance. We are making a platform game and getting stuck on a couple of issues.

Hero uses a circle body so when --

1. hero jumps on platform sometime it gets stuck at the corner
2. when hero stand on the corner of block it tends to slide off

Any ideas about how we can fix this using box2d? I attached an illustration below to show the issues.

Thanks in advance for any help!

Untitled - 4.1.5 2019-03-26 19.35.28.png
Untitled - 4.1.5 2019-03-26 19.35.28.png (40.06 KiB) Viewed 9830 times

Re: Platformer

Posted: Tue Apr 02, 2019 6:15 am
by iforce2d
This is a pretty tricky thing, and not likely to be solved without quite a bit of twiddling with how contacts behave (or at least, whether to even have a contact in some situations). This is probably the best help I can give for starters, unclear if you have seen it yet so I'll just point you here to begin with:

Re: Platformer

Posted: Tue Apr 09, 2019 7:27 am
Thank you!