Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
End a loop?
Old
dotcj2
Guest
 
Status:
Posts: n/a
Question End a loop? - 07-27-2008, 08:01 PM

I'm making a movie where at one point a guy falls off an island and lands in water with sharks swimming around. The sharks are swimming in a loop(infinitely) and I want them to stop to move towards the guy. Any way to do that? Image is part of the code of the sharks swimming in a circle.



sharkswimDELETE.camrec.jpg
EDIT:^^Srry bad quality

EDIT EDIT: I dont want to create another annoying thread, so is there a way to measure distance other than trial and error?

Last edited by dotcj2; 07-27-2008 at 08:04 PM.
   
Reply With Quote
Old
DrJim
Guest
 
Status:
Posts: n/a
Default 07-29-2008, 11:08 AM

There are many "distance to" and other measurement type functions associated with each object - also some handy world level functions to do math, logic, etc. with the results.

The variety is such that it would be difficult to cover in a single post (most of the texts do a couple of chapters on the subject). I suggest experimenting and/or looking through the examples in Dick Baldwin's tutorials.
   
Reply With Quote
Reply

Tags
end loop pause

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.