v2.0.2
List of all members
CC3ActionMoveForwardBy Class Reference

#import <CC3Actions.h>

Inheritance diagram for CC3ActionMoveForwardBy:
Inheritance graph
[legend]

Additional Inherited Members

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

Detailed Description

CC3ActionMoveForwardBy 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: