CC3ActionRotateTo Class Reference
Inherits from | CC3ActionTransformTo : CC3ActionTransformVector : CCActionInterval |
Declared in | CC3Actions.h |
Overview
CC3ActionRotateTo rotates a target CC3Node to a specific orientation.
The rotational travel will be minimized, taking into consideration the cyclical nature of rotation. For exmaple, a rotation from 10 degrees to 350 degrees in any axis should travel -20 degrees, not the +340 degrees that would result from simple subtraction.