Hi,

When an uncaught exception occurs during the processStimulus method of a
behavior it prevents the wakeupOn method, at the end of processStimulus being
called.  Since the behavior hasn't been set to wake up it doesn't work.

The exception is occuring because you need to set picking capabilities for the
Shape3D.  I use

            PickTool.setCapabilities(shape, PickTool.INTERSECT_FULL);

to set these capabilities.

Hope this helps,
Renoir

Lan Wu-Cavener wrote:

> Hi, everyone:
>
> I have this scenario: My PickMouseBehavior works only at the initial scene.
> Once I navigated through the scene by changing the ViewerPlatform
> TransformGroup, the PickMouseBehavior does not work anymore.
> I got the "Exception occurred during Behavior execution: javax.media.......
> Shape3D: no capability to get geometry. ...".
>
> My guess is that the PickMouseBehavior is associated with the object's
> transform Group during the navigation. Could anyone confirm my thought? And
> what should I do to make the PickMouseBehavior work?
> Thanks!
>
> Lan
>
> Lan Wu-Cavener
> Research Associate and Programmer
> Dept. of Landscape Architecture
>
> ===========================================================================
> 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".

--
Renoir Sewjee
Software Engineer
ISS International (Welkom)
Tel: +27 (0)57 912 2702
Fax: +27 (0)57 912 2652
--

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