cocos2d-objc icon indicating copy to clipboard operation
cocos2d-objc copied to clipboard

CCActionFollow should use positionInPoints because it operates on the view size

Open Ben-G opened this issue 11 years ago • 0 comments

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.

Ben-G avatar Jul 25 '14 03:07 Ben-G