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

Problem with gravity controller?

Mar 20, 2011 at 9:57 PM

Is the gravity controller supposed to have a weird affect on non-uniform polygons?

For example it seems to pull circles and squares fine, but when I have a more complex shape the shape jitters all over the place.

Mar 21, 2011 at 12:38 AM

No, it should work the same on all polygons and circles.

Could you supply me with a testbed test that shows the problem?

Mar 21, 2011 at 12:47 AM

I just added the Planet from the gravity controller (removing the enabling / disabling of collision categories) test in the test bed to the BreakableBody test as a quick test to make sure I wasn't doing anything dumb. Most of the pieces seem to spasm all over the place.

Mar 21, 2011 at 9:02 PM

I took a look at it and it seems the position is not using WorldPosition as it should. I have fixed it in changeset 86420