1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Ball bouncing of wall

  1. Aug 20, 2015 #1
    I am making a game where a ball rolls along the ground collecting coins. The ball is inside four walls. I want to know what the equation for the ball hitting the wall and coming back is. I want the speed and to find the angle aswell. The ball stays at a solid speed of 10 and has a mass of 1 kg. If it helps this game is being made on unity.

    Thanks - Alex
     
  2. jcsd
  3. Aug 20, 2015 #2

    RUber

    User Avatar
    Homework Helper

    Since speed is conserved, you are ignoring gravity too?
    Any bounce should maintain that the angle a made with the wall coming in will be the same as the angle leaving the wall.
    In 2d, that means if approach angle =a, departure angle = 180-a.
    a=0 describes rolling. a=90 is a straight on bounce and return, ie normal incidence.
     
  4. Aug 20, 2015 #3
    Ah I see so how would i get the speed of the ball coming off the wall
     
  5. Aug 20, 2015 #4

    RUber

    User Avatar
    Homework Helper

    You said the speed doesn't change.
     
  6. Aug 20, 2015 #5
    Sorry not speed how far will it bounce
     
  7. Aug 20, 2015 #6

    jbriggs444

    User Avatar
    Science Advisor

    If you are ignoring gravity (as you must be in order to have constant speed), it will continue after the bounce until it hits the next wall.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Ball bouncing of wall
Loading...