Well, you actually use behaviors for what you were talking about

I mean, let us say that your tree has 6 steps to falling
from standing upright, to almost down, to all the way on the ground

Now then, you behavior should be active for the whole scene, because you want
that tree to fall
But, you also want it to be seen if someone just happens to be walking along,
and sees that last few ticks in the falling tree animation

So, you have to be running the behavior all of the time
Because, somewhere you HAVE to be running the tree through it's animations
you know, changing it's transform3D stuff, colors that might need to be changed,
etc.
because you never know when someone is going to be coming along and is going to
see that tree fall

Or, if you just want it so that when they get close enough to see the tree...
use a collision detection behavior
when they get close enough, the tree animation gets triggered, you find out how
much time has elapsed from the beginning
init, find out where the tree is supposed to be , then transform it there and
keep the animation going until all people who are close to
this behavior have done collision exits

So, those are two possible ways for you
Scott


Scott Decker
Research Scientist
Pacific Northwest National Labs
[EMAIL PROTECTED]

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