Results 1 to 33 of 33

Thread: Chaning direction

Threaded View

  1. #1

    Thread Starter
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544

    Chaning direction

    In my breakout game, I have a slight problem with the direction...
    When the ball comes towards the ball, lets say with f(x)=-2x, and the ball hits the paddle on the far most left side, I want the ball to go back in the same direction, but I have found that kinda tricky!
    Anyone know how to do this???
    I know it has something to do with inverse function....But how to express it, I dont know....
    Last edited by CyberCarsten; Oct 4th, 2003 at 05:12 AM.
    razor
    Software Engineer Student, Aalborg University, Denmark
    http://www.cs.auc.dk

    My email at AUC: will get a new email soon
    My website: http://www.razorsoftware.net


    Windows XP Pro/ Gentoo Linux (Laptop)
    Windows XP Pro (Home PC)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width