Hi Artur, I think to should use two WakeupCondition criteria:
WakeupOnElapsedFrames AND (WakeupAnd) WakeupOnViewPlatformEntry Don't forget to setSchedulingBounds(bounds) for your Behaviour object. Every time an active ViewPlatform enters the region AND after the number of elapsed frames, your behaviour will wakeup. ::-----Original Message----- ::From: Discussion list for Java 3D API ::[mailto:[EMAIL PROTECTED]] On Behalf Of Artur Biesiadowski ::Sent: Samstag, 18. Mai 2002 00:46 ::To: [EMAIL PROTECTED] ::Subject: [JAVA3D] Wakeup when visible :: :: ::I would like to have a behavior running every frame, but only ::when it is visible (for performance reasons - I can handle ::big pauses without problem when it reactivates later). Is it ::possible ? :: ::Other possibility would be to stay with wakeup per each ::frame, but check at very start if behavior bounds are ::visible. What is the fastest way of explicitly checking if ::given bounds are visible ? :: :: ::Artur :: ::============================================================== ::============= ::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".
