Inherits from CCActionInterval
Conforms to NSCopying
Declared in CC3Actions.h

Overview

CC3ActionRotateByAngle rotates a target CC3Node by a specific amount, by repeatedly invoking the rotateByAngle:aroundAxis: method on the target node as the action runs.

Class Methods

actionWithDuration:rotateByAngle:

Allocates and initializes an autoreleased instance to rotate the target node by the specified angle around the existing rotationAxis of the node, within the specified time duration.

+ (id)actionWithDuration:(CCTime)t rotateByAngle:(GLfloat)anAngle

Declared In

CC3Actions.h

actionWithDuration:rotateByAngle:aroundAxis:

Allocates and initializes an autoreleased instance to rotate the target node by the specified angle around the specified axis, within the specified time duration.

+ (id)actionWithDuration:(CCTime)t rotateByAngle:(GLfloat)anAngle aroundAxis:(CC3Vector)anAxis

Declared In

CC3Actions.h

Instance Methods

initWithDuration:rotateByAngle:

Initializes this instance to rotate the target node by the specified angle around the existing rotationAxis of the node, within the specified time duration.

- (id)initWithDuration:(CCTime)t rotateByAngle:(GLfloat)anAngle

Declared In

CC3Actions.h

initWithDuration:rotateByAngle:aroundAxis:

Initializes this instance to rotate the target node by the specified angle around the specified axis, within the specified time duration.

- (id)initWithDuration:(CCTime)t rotateByAngle:(GLfloat)anAngle aroundAxis:(CC3Vector)anAxis

Declared In

CC3Actions.h