you could maybe try a behavior that wakes up every frame to update the
object position.. that way the behaviors that are scheduled would run
before the next frame, which would be your collision detection one and
the one to update the position...  but this might be a big cycle hog...
someone else prob has a better way..  just an idea... ciao, wayne


"Leung, Sunny" wrote:
>
> Hi,
>
> I am using wakeupOnCollisionEntry() to perform collision detection on two
> objects. One of the object moves among a set of coordinates stored in an
> array. My problem is, I can't control make the program to wait until
> wakeupOnCollisionEntry() has provided a result before jumping into the next
> coordinate in the array.
>
> Any ideas to approach this problem?
>
> 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".
begin:vcard
n:deprince jr.;wayne c.
tel;cell:215.630.5146
tel;home:610.997.0147
tel;work:610.758.4785
x-mozilla-html:TRUE
url:http://www.lehigh.edu/~wcd2
org:Lehigh University;Electrical Engineering and Computer Science
adr:;;328 Adams Street Apt. #204;Bethlehem;PA;18015;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:MS/Phd Student - T.A.
note;quoted-printable:Instant Messenger Name - mrgrimm55=0D=0A
end:vcard

Reply via email to