Rectangle + circle getting stuck on rectangle's edge

Topics: Developer Forum, Project Management Forum, User Forum
Dec 14, 2012 at 1:24 PM

A video says more than a thousand words so here it is: http://www.youtube.com/watch?v=Uv7t14Vi6ZA

As you can see I also made the rectangle a rounded rectangle but it still seems it gets stuck like it is in mid-air and starts sleeping. I've been reading up on a lot of articles and discussions about using a circle and a rectangle for a character but didn't see anything like this anywhere on the internet... Does anyone know how I can resolve this issue?

Coordinator
Dec 16, 2012 at 6:53 PM

The number of contacts you get puzzles me. It jumps to about 47 contacts at some point, but you only have a single collision. It is true that most games build the character from a circle and a rectangle. I would suggest you try with an ordinary rectangle and turn on contact view in the DebugView, to see where the contacts happen.