|
-
Oct 4th, 2003, 05:08 AM
#1
Thread Starter
Frenzied Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|