Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Why can't I use distance to function in if/else statement?
Old
leslie1165
Junior Member
 
Status: Offline
Posts: 2
Join Date: Nov 2011
Default Why can't I use distance to function in if/else statement? - 11-12-2011, 07:11 PM

I'm working through "Virtual World Design and Creation for Teens" and have hit a snag. The book is telling me to create a collision detection function. I'm supposed to be able to use the "distance to" function of a character in an if/else statement, but I can't get the function to drag and drop into the right place. The first two proximity functions for the character will work, but none of the distance functions will.

Anyone know what I'm doing wrong?

Thank you!

Leslie
   
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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.