Hello team,
I am finding it difficult to add the feature of pinch guesture for cocos creator 2.4.10v, can anyone has solution for it?
I had tried with scaling up the target node according to the touch(when 2 touch is recognised), but finding difficult to move the target as the finger moves to certain point.
I need help in,
Moving the target node that needs to be zoomed according to finger(single touch) moves
Adding the boundary/limit so that the node does move away from visible area.
Reset the node while zooming out, After zooming(scaling) in and moving(setting the position according to touch) the node to finger touch.
Here in this video, first I try to zoom from center that is fine, then for second time when I try to zoom from border, it is zooming from center only, instead I wanted it look like I am zooming from border.
I there any other conditions to be checked for this feature.