cocos3d  2.0.0
List of all members
CC3MoveRightBy Class Reference

#import <CC3Actions.h>

Inheritance diagram for CC3MoveRightBy:
Inheritance graph
[legend]

Additional Inherited Members

- Instance Methods inherited from CC3MoveDirectionallyBy
(id) - initWithDuration:moveBy:
 
- Class Methods inherited from CC3MoveDirectionallyBy
(id) + actionWithDuration:moveBy:
 
- Properties inherited from CC3MoveDirectionallyBy
CC3Vector targetDirection
 

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: