Did you try this sort of things :

Behavior lBehavior = new MyBehavior();
lBehavior.setSchedulingBounds(new BoundingSphere(new
Point3d(),100.0));
BranchGroup fc2 = new BranchGroup();
fc2.addChild(lBehavior);
locale.addBranchGraph(fc2);


__________________________________________________


--- xhsun <[EMAIL PROTECTED]> wrote:
> Hi, Could anyone help me out with my "behavior"
> problem? In my application,
> I need to add new scenes to the loacle and remove
> some old ones from it
> frequently. I added to each scene the same series of
> behaviors when it was
> created. Then, when I want to execute one kind of
> behavior, those instances
> in each Branchgroup will be woken up, and return
> different results.
> Actually, what I need is only one set of universal
> behaviors which can
> execute on all the scenes as a whole. Is there a way
> and an universal place
> I can add these behaviors to?
>
> Thanks in advance.
>
> xiaohua
>
>
===========================================================================
> 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".


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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