Hi Scott,
I've been having the same problem. I've been posting questions about this on
the newsgroup for the past week or so and no one replies. I've even wriiten
to the team personally at Sun Microsystems but they haven't replied either.
For some reason it seems that collision detection doesn't work properly. It
throws collision events as soon as you start your application even though
your objects may not be colliding. If you put System.out.println 's in your
processstimulus method in the collsion detection class you will find that as
soon as your application starts the method runs in an infinite loop, whether
your objects are colliding are not.
If you make any progress on this, please let me know.
Arvi.
-----Original Message-----
From: Scott Lewis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 06 March 1999 00:09
Subject: [java3d] Picking and collision simultaneously
>I have a 3d model that can be manipulated with the mouse, and I want it to
>also detect collisions with other nodes. My picking code works fine, but
>when I add the collision detector to the scene graph (doing something
>similar to the TickTockCollision example code) the picking code just stops
>working. Add the collision detector to the scene graph, picking doesn't
>work...don't add the detector, it works.
>
>Does anyone have example code that has both picking and collision behaviors
>active simultaneously? I suspect I'm doing something wrong with the
>placement of the behavior nodes in the scene graph.
>
>Thanksinadvance,
>
>Scott
>---------------------------------------------------------------------------
>Scott B. Lewis, Ph.D
>503.288.4356
>[EMAIL PROTECTED]
>http://www.teleport.com/~slewis
>ICQ: 1815130
>"The fool finds ignorance all around him. The wise man finds ignorance
>within."
>
>=====================================================================
>To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/