Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Please help, need some assistance.!
Old
whitechocolate11
Guest
 
Status:
Posts: n/a
Exclamation Please help, need some assistance.! - 06-13-2011, 10:21 PM

I have an object and i surrounded the object with walls, then I wrote a method to what should happen to the object if it is too close to the walls.

However what I need help with is how to detect whether the object in the center is close to the many other objects which form the wall.

I created a list of all the objects forming the wall and I attempted to use an if/else statement to determine while the center object is close to the wall, however using the list I could only select whether the object is close to the first or last wall of the list?

Any suggestions?
   
Reply With Quote
 

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.