View Single Post
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