Unwanted physics objects overlap?

Hi folks,

I am working on a word game with tiles that the user can drag around the board. If you drag a tile into other tiles those tiles get pushed out of the way. However, if you move somewhat quickly (not even very quickly) the tiles overlap slightly as they get pushed. And if you use a tile to push another tile (or bunch of tiles) up against the edge of the screen, the tiles can be made to overlap quite a bit. This makes the tiles seem pretty unsolid and non-tile-like. :-) Is there a way to make them behave more like solid objects?

I tried body.isBullet=true, but that didn't seem to make any different.

Thanks!

Jim

Take a look at this and see if it helps; http://blog.anscamobile.com/2011/08/solutions-to-common-physics-challenges/

Are the bodies falling asleep, perhaps?

I had this problem once.. I just gave customized physics shapes for each body,slightly bigger than the original shape.. So the overlap will be there but only on the "extra physics part" which will not be visible..

Hope that made sense...

views:1836 update:2012/1/9 8:53:30
corona forums © 2003-2011