cocos3d  2.0.0
List of all members
CC3MoveForwardBy Class Reference

#import <CC3Actions.h>

Inheritance diagram for CC3MoveForwardBy:
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

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: