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

Overview

CC3ActionRotateToLookAt rotates a target CC3Node to look at a specific location.

Class Methods

actionWithDuration:targetLocation:

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

+ (id)actionWithDuration:(CCTime)t targetLocation:(CC3Vector)aLocation

Declared In

CC3Actions.h

Instance Methods

initWithDuration:targetLocation:

Initializes this instance to rotate the target node to look at the specified location. within the specified time duration.

- (id)initWithDuration:(CCTime)t targetLocation:(CC3Vector)aLocation

Declared In

CC3Actions.h