Hi
I've got a normal sprite/image that I need to rotate as the phone rotates (3GS). I figured I'd grab the direction/angle from CLLocationManager heading updates and simply call the following each time I get a rotation:
[mySprite stopAllActions];
[mySprite runAction: [CCRotateTo actionWithDuration: 0.2 angle: angleFromHeading]];
Although this works - it's extremely jittery (as I stop and run on each rotation). When I tried this with Core Animation it worked fine but can't see how to do this properly with Cocos2D. Please any guidance would be appreciated. I'm completely new to the library and can't get a simple thing as this to work.
Thanks!