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

Class Methods

actionWithDuration:points:

creates an action with a Cardinal Spline array of points and tension

+ (id)actionWithDuration:(ccTime)dt points:(CCPointArray *)points

Declared In

CCActionCatmullRom.h

Instance Methods

initWithDuration:points:

initializes the action with a duration and an array of points

- (id)initWithDuration:(ccTime)dt points:(CCPointArray *)points

Declared In

CCActionCatmullRom.h