OZONE Asylum
Forums
DHTML/Javascript
Pinball game: Collision of a ball with a pinball paddle
This page's ID:
30777
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Thnx Arthurio. I've seen those before but I really want to create the code. [img]http://i42.tinypic.com/2agpyqh.jpg[/img] Here's what I figure I need to calculate for each flipper. The big arc is obviously the range of the flipper which is the first thing to check the green line is the face of the flipper which I need to figure out how to calculate at different flipper angles. I know the that calculating the vectors for the ball that the perpendicular from the paddle will be the vector normal and the outgoing vector angle is just the same angle from the normal as the incoming vector angle. I'm just wondering if this is what an expert would do, or if I should device a better way to check for collision and rebound angle? Thanks for your help.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »