View Single Post
  #9  
Old September 13th, 2003, 12:57 AM
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?

thanks to the both of you.
Quote:
% 360

modulo
that's for making sure it's still between 0-360, right?

anyone know how to figure out what side it hit when the box is rotated? i've got an idea, but it's clunky, rotating the whole thing, ball and box, back to 0 while keeping there relative positions and then back.

[ September 13, 2003, 00:36: Message edited by: narf poit chez BOOM ]
__________________
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