Site hosted by Angelfire.com: Build your free website today!
Solutions to Hit Test & More:
By: Christopher Bartlett Rev. Aug. 2, 2001
Note:
These are some solutions to common question asked by programmers for hit tests.
They are not the only ones possible, And I can not say the definitely the best, But I do belive are very good.
I have answer these question on some news groups or gotten help in some of these areas.
This is my attempt to help others by giving them access to explanation of solutions and example code were possible.
I have tried to check my explanations, math and code on these pages.
But I might have missed something so if you catch anything that is wrong PLEASE yet me know.
Solution Descriptions: Short descritions of what explanations covers.
Explanation: How well done is explanation.
   Finished: Means I belive it is complete.
   Draft: Means I think it good but not polish.
   Coming Soon: Means I plan on doing this real soon. Number is order most likely to be posted on web.
   Planed: Means I am thinking of doing this.
   Bare Minimum: Means just enough info to get jest of it.
   Not tested: I have not tested code list to see if it works.

Code: Does it have C code listing or not.
JavaScript Examples: Does it have a simple JavaScript example to test.
Date Revised: When was the last time updated.
Solution Descriptions: Explanation: Code: Java Script example: Date Revised
Bullet hitting a Stationary Sphere Finished Yes Yes 1/19/00
Bullet hitting a Moving Sphere Finished Yes Yes 1/19/00
Moving Sphere (Ball) hitting a Stationary Sphere Draft Yes No 1/19/00
Moving Sphere (Ball) hitting a Moving Sphere Draft Yes No 1/19/00
Bullet hitting a Box Coming Soon: 2 No No  
Bullet hitting a rotated Box Coming Soon: 3 No No  
Bullet hitting a moving rotated Box Coming Soon: 4 No No  
Moving Sphere hitting a rotated Box Coming Soon: 5 No No  
Moving Sphere hitting a Moving rotated Box Coming Soon: 6 No No  
2D pixel level hit test between sprite using hit mask Coming Soon: 1 No No  
Simple 2D line intersection test Bare Minimum Yes No 1/18/00
Simple 2D line intersection of a Triangle Bare Min., Not tested Yes No 8/2/01
Simple point inside a 2D Box in 2D space Draft Yes No 2/21/01
Other places to look for Examples/Explainations and Code 2/16/01
GameDev This is a great site that was created from servel others as I recall www.gamedev.net
FileCode This is a great site lots stuff www.flipcode.com
Game Devoleper Magizane This is a great magizinae published every month www.gdmag.com
Gamasutra This is the site for Game programming www.gamasutra.com
GameAI This is the site for the Game AI www.gameai.com
If you have Request or Comment fill in this form, Thank You.
Search My Site for term: Case-sensitive - yes exact fuzzy
All Material within this article is Copyrighted © 2000 and © 2001 by Christopher Bartlett, All rights reserved.
Use is Granted for Learning. Last Revised on August 2nd, 2001 (8-2-01).
Web: The House of Bartlett Contact: houseofbartlett@angelfire.com Visits: