Problem with gravity controller?

Mar 20, 2011 at 8: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 20, 2011 at 11:38 PM

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

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

Mar 20, 2011 at 11:47 PM

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 8: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