CCMoveTo to new Position

Hello, i want a CCSprite to follow another CCSprite with the CCMoveTo.

moveTo = new CCPoint(ship.PositionX, ship.PositionY);
var moveEnemy = new CCMoveTo(7.5f, moveTo);

How can i check during the "RunAction" if the shipPosition has changed and move to the new ShipPosition?

Best Answer


Sign In or Register to comment.