got stuck with collision detection,
Members - Reputation: 121
Posted 04 October 2001 - 12:48 AM
Members - Reputation: 1377
Posted 04 October 2001 - 04:46 AM
Expect to spend some time experimenting for yourself.
The examples are out there, so perhaps I can help you to know where to look. The www.gamasutra.com web site is a good source---basically its the online version of game developer magazine. Try Jeff Lander''s article below. The second article points you to some University-developed software for collision detection, which you might use as an example to help you develop your own code.
http://www.gamasutra.com/features/20000208/lander_01.htm (a bit of physics)
And the corresponding source code examples. The 2D source code is a good place to start. The 3D source code is really just for calculating the axis-aligned bounding boxes, but together with the article it may be clear how to use it.
Also try this article:
Unfortunately, no source for that one.
(the source code to game developer magazine articles is always at ftp.gdmag.com).
The University of North Carolina at Chapel Hill has done quite a bit of research on collision detection, and here is a page pointing to their numerous software packages:
Applied Research Associates, Inc.