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. Dismiss Notice

Sphere "Ball Player"

Discussion in 'Scripting' started by Luke3671, Jan 4, 2015.

  1. Luke3671

    Luke3671

    Joined:
    Jul 6, 2014
    Posts:
    52
    Heya,
    I'm new to unity been trying to get my hands into small "Projects" Just take me about 30mins to do this little code x_x Problem i'm having at the moment is, When pressing "Up Arrow" it goes 1 way but doesn't stop. but the other keys don't work at all. Did i go something wrong or easyer way? "Wanna make the ball roll"

    Thank you if you can help me.

    Luke
     
  2. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    Adjusting the Drag and Mass of your rigidbody should fix that problem.
    You may have to add more force or less force.
     

    Attached Files:

  3. Neoku

    Neoku

    Joined:
    Oct 27, 2014
    Posts:
    261
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
  5. Luke3671

    Luke3671

    Joined:
    Jul 6, 2014
    Posts:
    52
    Thank you guys, This worked :)