I'm hoping someone may provide insight into these number formats. I'm using Box2d with Cocos2d for iPhone.
If I use a GetPosition function, a usable number like x: 1.81983328 y:2.91508126 is returned. This can be easily converted into Cocos2D GL space.
However the WorldManifold returns m_points as x: 2.93685509e-34 y:4.48415509e-43 and these do not convert well to GL space. I'm assuming there is a hidden calculation, or other problem - would anyone shed some light on what's happening?
If I use a GetPosition function, a usable number like x: 1.81983328 y:2.91508126 is returned. This can be easily converted into Cocos2D GL space.
However the WorldManifold returns m_points as x: 2.93685509e-34 y:4.48415509e-43 and these do not convert well to GL space. I'm assuming there is a hidden calculation, or other problem - would anyone shed some light on what's happening?