[gameprogrammer] Re: Bouncing Ball (Sleeping in math class)
- From: Petri Latvala <adrinael@xxxxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sun, 28 Nov 2004 00:08:55 +0200
On Sat, 2004-11-27 at 10:14, Scott Harper wrote:
> Okay, I realize I should have paid better attention (or taken better
> notes) in College Algebra for this, but here's my issue. I've got the
> "bouncing ball"... That's easy. NOW, I want the ball to bounce
> (accurately) off of some arbitrarily sized rectangle in the middle of
> the window.
http://www.gamasutra.com/features/20020118/vandenhuevel_01.htm has code
for a sphere bouncing off another sphere. That's what you're going to ask next
=)
(You might need to register, but it's free and worth it, they have lots of cool
articles)
http://www.msc.uky.edu/carl/ma322/spr2001/html/reflections1.html has
info on reflection matrices, that should help you on the sphere-plane
collision.
--
Petri Latvala
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] Bouncing Ball (Sleeping in math class)
- From: Scott Harper
Other related posts:
- » [gameprogrammer] Re: Bouncing Ball (Sleeping in math class)
- » [gameprogrammer] Bouncing Ball (Sleeping in math class)
- » [gameprogrammer] Re: Bouncing Ball (Sleeping in math class)
- [gameprogrammer] Bouncing Ball (Sleeping in math class)
- From: Scott Harper