Re: OT: would anyone happen to know how to calculate bouncing a ball off an angled box?
well, the objects are 3d, but it's on a flat plane.
ok, so i figure out what angle the wall is at, then:
wall at 45 degrees, ball comming in at 90, 45-90=-45, 45+-45=0. ball coming in at 270, 45-270=-225, so, if negative 360+-225=135? doesn't work there. but, since it's hitting the bottom...angle at 225, same tilt, 225-270=-45, 225--45=270. doesn't work.
i missed something, right?
what more warning do you want?
__________________
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.
|