CC3MoveRightBy Class Reference

CC3MoveRightBy moves a target CC3Node to the right by a specific distance. More...

#import <CC3ActionInterval.h>

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

List of all members.


Detailed Description

CC3MoveRightBy moves a target CC3Node to the right by a specific distance.

The direction of movement is taken from the rightDirection 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 rightDirection 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 rightDirection property.


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