At 09:10 30/05/2003 -0700, you wrote:
Zak Nixon wrote:
Has anyone used the collision detection library from j3d.org?

Yeah, me :)


Can someone send me a snippet of code to make the collision detection
behaviors work?

To make it work, you need to make sure that you either clock it yourself with your per-frame behaviours or that you use the built in one that is available through the getTimerBehaviour() method. This behaviour you then add to your scene graph in the normal way.

Also, can these be used for i.e. 2 objects colliding, and not the
viewer/objects?

No. This is purely object to object collision. I have a Java port of Kelvin's HS-Jump variant of Q-Collide that I'm working on. It's mostly done, but I haven't really completed it yet, and therefore not in CVS. There's a couple of major pieces still missing. If you would like to help out with the implementation work, I'd be more than happy to commit the code to CVS and let you have a play. Right now, my work is focussed on getting the port of the NYU/Bierman Subdivide 2.0 library completed.

Several questions: what is HS-Jump variant of Q-Collide ? What are the differences, which is the best ? Isn't the Java3DFly 2.0 collision ok by itself ? When will you put the code on J3d.org ? on a separate track, what is NYU/Bierman Subdivide 2.0 ?

By the way, I have seen there was a Java revolve class for NURBS system for
VRML you produced sometime ago, is this feature also supported by the NURBS
package on J3D.org ?

Thanks.

P.S. Sorry for all those annoying questions.

--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"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".

__________________________________________________________________________________________


Silvere Martin-Michiellot builds the Internet future on
www.digitalbiosphere.com
__________________________________________________________________________________________

===========================================================================
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