Bodies do not stay sticked together by joint in retina display

Posted by Mike JM on Game Development See other posts from Game Development or by Mike JM
Published on 2013-04-12T02:10:16Z Indexed on 2013/11/08 10:23 UTC
Read the original article Hit count: 188

Filed under:

I'm rehearsing on Box2D revolute joints. Everything's going pretty well except for one thing. For some reason bodies joined together with revolute joints do not stay sticked, they start getting apart from each other from the app start when I run it on retina device or simulator. On non retina device it works just fine, as expected. Here's the screenshot of the non-retina version:Non-retina

And here's the behavior when I run the same app on retina device/simulator: Retina

I'm taking content scale factor into account.

© Game Development or respective owner

Related posts about ios

Related posts about box2d