Search Unity

2D catapult game

Discussion in '2D' started by YanivAvrahami, Aug 24, 2016.

  1. YanivAvrahami

    YanivAvrahami

    Joined:
    Jun 26, 2016
    Posts:
    51
    I want to make a 2D mobile catapult game but I need some help.
    For firing an object the catapult will have to stretch backwards and then like a spring it will fire the an object.
    I think I will use the hinge joint with a motor to do the lift of the firing but how can I make it so when I press and hold my finger then the catapult starts to stretch backward?

    Thank you in advance.
     
  2. PeaceLaced

    PeaceLaced

    Joined:
    Jun 2, 2015
    Posts:
    53
    tedthebug likes this.
  3. YanivAvrahami

    YanivAvrahami

    Joined:
    Jun 26, 2016
    Posts:
    51