Hi Marco,
I had tried behavior.setEnabled(false) but without any success. The CPU
usage is still 100%.
Fortunately, I have been told my Sun engineer that this particular problem
will be solved in the upcoming v1.2 alpha release. So you can actually
detach a collision detection behavior at run-time to minimise the CPU usage.
Regards,
Sunny
> -----Original Message-----
> From: Marco Lohse [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 16, 1999 6:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Detaching BranchGroup
>
> Hi again,
> try
>
> Behavior.setEnabled(false);
>
> Marco.
>
>
> >Hi,
> >
> >I have tried to detach a branchgroup inside a WakeupOnCollisionEntry()
> >behavior, although I can detach the branchgroup successfully, but the
> >behavior node which attached to that particular branch group seemed to
> still
> >running in the background after the detachment. Any ideas?
> >
> >Thanks
> >
> >Sunny Leung
> >
> >=========================================================================
> ==
> >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".
> >
>
> ==========================================================================
> =
> 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".
===========================================================================
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".