I'm having some trouble with objects that I'm rotating falling out of sync with each other. Anyone have any ideas how to make sure these objects are time synced? I'm assuming I need to set some sort of a baseline timer and then compare against that but I'm not sure.
-(void) update : (ccTime) dt
{
currentRotation += rotationSpeed * dt;
if(currentRotation >= 360) currentRotation = 0;
[hammerNode setRotation:currentRotation];
}