Dear all i want to make my 2D objects bounce like fruit ninja fruits.Please tell me how can i make jump my object on a key press.For example the when i press the key then the object get a jump from bottom to up and then come back at bottom.Please Help me.
Hey mate,
i havent tried 2d yet, but i think its kind of the same procedure.
For such a task i would use a rigidbody and the addForce method.
There is an equivalent for 2d.
1 Like
Thanks.