This project has moved and is read-only. For the latest updates, please go here.

Body gets stuck, the usual problem!

Topics: Developer Forum
Jan 8, 2013 at 9:35 PM
Edited Jan 8, 2013 at 9: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:

How do i overcome this problem? 

Jan 8, 2013 at 10:01 PM

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

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? 

Jan 19, 2013 at 9: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.