Body gets stuck, the usual problem!

Topics: Developer Forum
Jan 8, 2013 at 8:35 PM
Edited Jan 8, 2013 at 8:36 PM

Hi, i got a body with a RoundedRectanle shape that touches alot of bodies.. Often it gets stuck then to vertices collide...

I have read about the problem and attempted to solve it by making the corners roundes, but it didn't help me..

See here:
http://imgur.com/ZyuKN

How do i overcome this problem? 

Jan 8, 2013 at 9:01 PM

I tried making the cornes not round, but more boxy, see here:

http://imgur.com/Dh6Nr

Now the body dosen't get stuck.. but it bounces from side to side on its way down.. any ideas of how to stop that? 

Coordinator
Jan 19, 2013 at 8:19 PM

This is a known problem and it can't be solved in a generic way. However, rounded rectangles are just polygons, so the problem will always persist. To get around the problem, you could use a circle as the character instead.

Read this article for more information.