CC3MoveForwardBy Class Reference

CC3MoveForwardBy moves a target CC3Node forward by a specific distance. More...

#import <CC3ActionInterval.h>

Inheritance diagram for CC3MoveForwardBy:
Inheritance graph
[legend]
Collaboration diagram for CC3MoveForwardBy:
Collaboration graph
[legend]

List of all members.


Detailed Description

CC3MoveForwardBy moves a target CC3Node forward by a specific distance.

The direction of movement is taken from the forwardDirection property of the node, and is evaluated on each update frame. If the node is being separately rotated while this action is active, this action will follow the changes to the forwardDirection property of the node, and the resulting path of the node will be a curve instead of a staight line.

The specified distance may be negative, indicating the node should move backward, relative to the direction indicated by the forwardDirection property.


The documentation for this class was generated from the following file: