CCCatmullRomTo Class Reference
Inherits from | CCCardinalSplineTo : CCActionInterval : CCFiniteTimeAction : CCAction : NSObject |
Declared in | CCActionCatmullRom.h |
Overview
An action that moves the target with a CatmullRom curve to a destination point.
A Catmull Rom is a Cardinal Spline with a tension of 0.5.
http://en.wikipedia.org/wiki/Cubic_Hermite_spline#Catmull.E2.80.93Rom_spline
Tasks
-
+ actionWithDuration:points:
creates an action with a Cardinal Spline array of points and tension
-
– initWithDuration:points:
initializes the action with a duration and an array of points