View Single Post
  #3  
Old September 12th, 2003, 08:38 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: OT: would anyone happen to know how to calculate bouncing a ball off an angled box?

ok, right now what i've got is a 3d setup, but i'm only using the x and z planes. i generate a ball at the bottom-left corner of the screen and send it at an angle from 0-90 into a bunch of boxes. the boxes are currenty square and not angled, but what i want is to randomly shoot in balls from all sides of the screen and have them bounce off rectangular boxes.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote