An action that moves the target with a CatmullRom curve by a certain distance. 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
Class CCCatmullRomBy
#include <Geode/cocos/actions/CCActionCatmullRom.h>
classCCCatmullRomBy:publiccocos2d::CCCardinalSplineBy{ ... }
Examples0
Public static methods1
staticcocos2d::CCCatmullRomBy*create(floatdt,cocos2d::CCPointArray*points)
creates an action with a Cardinal Spline array of points and tension
when this function bound to js,the input params are changed
js:var create(var dt,var pointTable)
Public member functions1
boolinitWithDuration(floatdt,cocos2d::CCPointArray*points)
initializes the action with a duration and an array of points