Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Nick Newsgroups: scee.yaroze.freetalk.english Subject: Re: Collision Detection Shortcut Update Date: Tue, 24 Feb 1998 22:30:21 -0800 Organization: SCEA News Server Lines: 24 Message-ID: <34F3BA79.6168@bc.sympatico.ca> References: <6caa8e$5bj12@scea> Reply-To: Nick_Porcino@studio.disney.com NNTP-Posting-Host: vcta01m02-82.bctel.ca Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01-C-SYMPA (Macintosh; I; PPC) I've got some 2d collision detection tips on my homepage, and the concepts extend to 3d. Here's one of them: 3. Stick Figures. Say you've got a figure like a character in a 2d fighter. Make a simple stick figure that mimics the shape and motion of the sprite, ie: a line for the head, a line for upper arm, lower arm, hand, two lines for the torso, etc. etc. Then to do hit detect with the other character in the game all you have to do is treat each line as a fat line and check them against the fat lines in the other character. This has the advantage of letting you know that the hand connected with the noggin. Unfortunately I forgot to put
 tags on the collision page so it's
all jammed together and hard to read, but anyway here's the URL for my
sucky homepage if you're interested:

http://www.scea.sony.com/net/yaroze/pages/nporcino.html

Click on the purple dot beside the "Some collision detection tips"
entry. Why did I write such dumb HTML? Chalk it up to trying to figure
out wacky things to do in frames. I'll fix it someday. I promise.

-nick