Using Linear Equations for Collision Detection

Status
Not open for further replies.
Level 6
Joined
Aug 15, 2007
Messages
209
Awhile ago I was struck with the idea of using dynamic lines to detect collision. Lines can be stored many ways, such as with point-slope, standard, and slope-intercept form, but I chose the latter. The following is an example of a simple game using this concept of collision:

http://www.hiveworkshop.com/forums/maps-564/blitzkrieg-149977/

The code is JASS, but I will happily explain to anybody. It isn't as thoroughly annotated as I would've hoped, but I do believe it is quite efficient.

I welcome and commentary and criticism.

Jeth.
 
Status
Not open for further replies.
Top