Hi Alan,

>Delivered-To: [EMAIL PROTECTED]
>Delivered-To: [EMAIL PROTECTED]@fixme
>X-Accept-Language: en
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Tue, 19 Jun 2001 15:34:06 -0700
>From: giles <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Multiple ViewingPlatforms
>To: [EMAIL PROTECTED]
>
>I've got a behavior that is triggered by a
>wakeupOnViewingPlatformEntry.  I also have multiple viewing platforms in
>my scene.  It seems that this behavior is being activated by a viewing
>platform other then the one that is attached to the view.
>
>So is this behavior checking all viewing platforms for intersection or
>just the one currently attached to a view?
>

 public WakeupOnViewPlatformEntry(Bounds region)

It checks for all viewingPlaforms currently attach to the
same scene graph as the behavior. It wakeup when ANY
ViewPlatform enters the specified region.


>I also tried playing around with the activationRadius on the
>ViewingPlatform, ie setting it to zero for all other vp's, but that
>didn't seem to have an affect.

The Behavior will still trigger if any one of VP activationRadius
intersect with Behavior scheduling region. So even though all
other vp's activationRadius are zero, the behavior has
effect if one of vp is not and intersect with scheduling region.

Otherwise, it is a bug. Please send us a test case for
investigation.

>
>A bit more detailed description of my scene:
>
>One Behvaior with a wakeupOnPlatformEntry with a bounding box of 0,0,0
>to 100,100,100
>One ViewingPlatform at 150,150,150 which is attached to the view
>One ViewingPlatform at 0,0,10 which is not attached to the view
>
>At the start of the scene the behavior triggers.  Is this expected?

If the viewingPlatform activationRadius > 50
that the behavior will trigger when start.

- Kelvin
---------------
Java 3D Team
Sun Microsystems Inc.

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