i have a similar situation to this Question. I want to keep the camera with the player in the center and the rotation of the player.
But i'm using box2d so i can't rotate the environment and keep the player static. how can i do this with cocos2d?
i only have code for the rotation, and i'm sure it's pretty wrong:
self.rotation = car.body->GetAngle()*(180.0/M_PI);
heres a bad sketch:
thanks.