Thanks for the code reference, Matt. I'll go look it up after I reply to this thread. I think I'm just going to use Graham's suggestion, to multiply by -1. This seems to give me the behavior I'm looking for.

-Michael


On Nov 4, 2008, at 5:16 PM, Matt Long wrote:

Others have answered the question, but here's some code. Gotta love code. ;-)

http://www.cimgf.com/2008/10/25/core-animation-tutorial-slider-based-layer-rotation/

-Matt


On Nov 4, 2008, at 5:30 PM, Michael A. Crawford wrote:

By default, positive angle values assigned to a rotation animation result in counter clockwise rotation. Is there a way to cause the rotation to occur in the clock-wise direction, with positive values? For example, consider a needle rotating in a compass. As the needle rotates in a clockwise direction the value that the needle points to increases (up until it wraps around, of course).

-Michael_______________________________________________


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to