Hey all,
I just switched over to a 2d projection to try to get rid of seams in the TileMapAtlas (turning off anti aliasing didn't work) but not my camera movement isn't working.
[gameCamera setCenterX:body->p.x centerY:body->p.y centerZ:0];
[gameCamera setEyeX:body->p.x eyeY:body->p.y eyeZ:CAMERA_ZOOM];
(called in the game layer, where gameCamera is the scene's camera)
works with 3d projection but breaks down with 2d projection.
After searching for answers, I tried:
[gameCamera setEyeX:body->p.x eyeY:body->p.y eyeZ:eyeZ];
[gameCamera setCenterX:body->p.x centerY:body->p.y centerZ:centerZ];
where centerZ and eyeZ are the defaults to no avail.
Any advice?