cocos2d-objc
cocos2d-objc copied to clipboard
CCActionFollow should use positionInPoints because it operates on the view size
Currently CCActionFollow breaks with normalized position types, because it is implemented assuming that the position types of the target Node and followed Node are points, which is necessary to compare positions to the viewSize. Since new position types have been introduced in Cocos2D 3.0 this action should use the positionInPoints property to always access the position in points.