CC3RotateToLookTowards is a CCActionInterval that rotates a target CC3Node to look towards a specific direction. More...
#import <CC3ActionInterval.h>
Public Member Functions | |
(id) | - initWithDuration:forwardDirection: |
Static Public Member Functions | |
(id) | + actionWithDuration:forwardDirection: |
CC3RotateToLookTowards is a CCActionInterval that rotates a target CC3Node to look towards a specific direction.
+ (id) actionWithDuration: | (ccTime) | t | |
forwardDirection: | (CC3Vector) | aDirection | |
Allocates and initializes an autoreleased instance to rotate the target node to look towards the specified dirction.
within the specified time duration.
- (id) initWithDuration: | (ccTime) | t | |
forwardDirection: | (CC3Vector) | aDirection | |
Initializes this instance to rotate the target node to look towards the specified dirction.
within the specified time duration.