Alice Community  

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

Reply
 
Thread Tools Display Modes
Chapter 3 Exercise 4 Blimp
Old
kar
Junior Member
 
Status: Offline
Posts: 1
Join Date: Jul 2012
Location: Oklahoma City, Oklahoma
Default Chapter 3 Exercise 4 Blimp - 07-05-2012, 02:38 PM

In this exercise two blimps are to move toward each other and stop close without touching. I used distance to each other - depth and they still end up in the middle of each other. Does anyone have any suggestions? I attached a copy of what I have so far.
Attached Files
File Type: a2w Blimps.a2w (156.1 KB, 17 views)
   
Reply With Quote
Revisit the Lesson
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 500
Join Date: Sep 2007
Location: Austin, Texas
Default Revisit the Lesson - 07-05-2012, 07:53 PM

The trick is to move them in small increments until they reach a certain distance from each other (Collision Detection). You have to use a loop structure.
   
Reply With Quote
Reply

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.