Physics Problem

I have only experimented with physics briefly in another one of my apps, but I had no problems with it. On my current app I have a static object that is moved forward when touched. It then touches a dynamic object that is pushed forward until it falls off an edge. On about 9/10 times this works fine, but on about 1/10 time when the static object collides with the dynamic object it just goes flying off the screen at a super fast rate or (even rarer) it causes the game to crash. Anyone have any suggestions?

Thanks,
Scott [import]uid: 79834 topic_id: 26600 reply_id: 326600[/import]

Do you have some sample code we could look at? [import]uid: 10903 topic_id: 26600 reply_id: 107824[/import]

Crazy erratic behavior like you describe is, too often, a result of incorrectly-declared physics bodies. Are they polygon shapes? If so, confirm they are declared in *clockwise* coordinate order, and that neither object has any concave angles.

If this isn’t applicable, post some code and I’ll try to figure it out.

Brent Sorrentino
[import]uid: 9747 topic_id: 26600 reply_id: 107844[/import]

Thank you for your responses. I will take a look at the declared physics bodies and get back to you. [import]uid: 79834 topic_id: 26600 reply_id: 107859[/import]