Justin;

Thanks for the info.  I sent an email w.r.t this subject seconds before
reading this, so if it sounds like I'm asking some of the questions you've
answered, ignore them.

Cheers,
Karen Dias, ISE

-----Original Message-----
From: Justin Couch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 10:06 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Java 3D's Collision Dectection


"Illarramendi Amilibia, Aitor" wrote:
>
> Where could I find some sample source of Collision Detection Algorithm
with
> picking system?

IIRC David Yazel and Shawn Kendall have both implemented this, so
hopefully they might be able to help. I think they have been doing
single body, not n-body work though.

As a very simple summary - basically project a pick ray/polytope from
the position in the scene of the object that you want to react to
collisions and see what it collides with. If it is within whatever
bounds you require (ie something gets "picked") then decide whether it
collides or not.

--
Justin Couch                                    Author, Java Hacker
http://www.vlc.com.au/~justin/               Java 3D FAQ Maintainer
http://www.j3d.org/              J3D.org The Java 3D Community Site
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to