How to display Parabolic Motion and how to find the final position of Sprite in Cocos2D

I want to move the sprite using gestures, from any angle, and any speed depends on the user's hits and ends in a trajectory. According to the scroll angle and power, how to find the final position where the sprite reaches? and how to show parabolic movement?

Please check this image for details.

+4
source share
1 answer

My answer to the same question :)

http://www.cocos2d-iphone.org/forum/topic/220434

To track the trajectory and predict the position, check the following links.

http://www.cocos2d-iphone.org/forum/topic/10862

http://www.cocos2d-iphone.org/forum/topic/15007

+3
source

Source: https://habr.com/ru/post/1478946/


All Articles