playMaker

Author Topic: 2D Ball flight Tween  (Read 1310 times)

adentutton

  • Playmaker Newbie
  • *
  • Posts: 9
2D Ball flight Tween
« on: May 30, 2014, 05:54:53 AM »
Hey guys!

Long time forum-lurker, loving having a play around with Playmaker! Im currently making a sports manager game (jumping in the deep end to start with!) and Im working with some tweens at the moment. Im trying to achieve a 2d ball flight but with tweening but am not too sure how to go about it. I have specific Gameobjects where the ball needs to travel to and I can get the ball travelling there but not really sure how to approach it code-wise.

Ive included a screenshot of where Ive gotten so far, I can get half of the animation I'm looking for but not sure how to approach the full ball flight (e.g. peaking halfway and returning back to the spot on the desired position

http://gyazo.com/b0737f38c6a3f0245e5c65fb82f4f7c9

Hope someone can help!

Thanks