Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How can i make an object jump into scence like fruit ninja?

Discussion in 'Scripting' started by sharpg, Jul 30, 2015.

  1. sharpg

    sharpg

    Joined:
    Mar 10, 2015
    Posts:
    150
    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.
     
  2. BitBanga

    BitBanga

    Joined:
    Apr 20, 2015
    Posts:
    5
    sharpg likes this.
  3. sharpg

    sharpg

    Joined:
    Mar 10, 2015
    Posts:
    150