Strangely high collision force on Android?

I have a game where I need to measure the collision force between two objects. On iOS and Windows Simulator things are normal, but on Android Galaxy Nexus I always get a collision force of 7.8133632731972e+16.

Using build 774, so a very recent one. It’s a Universal app. The objects in question – ice cubes – have bounce = 0.05 and density = 0.8 and use a square polygon shape (a little bit smaller than the default square would be).

Thanks for any help! [import]uid: 10284 topic_id: 24259 reply_id: 324259[/import]

Hi Philipp,

There is nothing platform specific in our physics engine.

Would you be able to run our sample app Bullet, please?
(CoronaSDK > SampleCode > Physics > Bullet)

If that works without issue I’d suggest changing the density and bounce to match the values used there.

Peach :slight_smile: [import]uid: 52491 topic_id: 24259 reply_id: 98452[/import]

> There is nothing platform specific in our physics engine.

Thanks, I understand that’s how it’s supposed to be, I guess it’s a bug then… I get completely out of range values on the Android device, whereas the Windows Android simulator shows good values. I cannot change any of the density or bounce values because the game was already fine-tuned and tested on iOS using those values, so I want to keep it as is for the Android port.

As a workaround, I am now doing a completely different handling for Android… the collision force checking was “just” for sound and effects generation – the crunching sound and animation of the ice cubes when they collided. [import]uid: 10284 topic_id: 24259 reply_id: 98462[/import]