Inherits from CC3ActionTransformTo : CC3ActionTransformVector : CCActionInterval
Declared in CC3Actions.h

Overview

CC3ActionRotateToLookTowards rotates a target CC3Node to look towards a specific direction.

Class Methods

actionWithDuration:forwardDirection:

Allocates and initializes an autoreleased instance to rotate the target node to look towards the specified dirction. within the specified time duration.

+ (id)actionWithDuration:(CCTime)t forwardDirection:(CC3Vector)aDirection

Declared In

CC3Actions.h

Instance Methods

initWithDuration:forwardDirection:

Initializes this instance to rotate the target node to look towards the specified dirction. within the specified time duration.

- (id)initWithDuration:(CCTime)t forwardDirection:(CC3Vector)aDirection

Declared In

CC3Actions.h