Alice Community  

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

Reply
 
Thread Tools Display Modes
Check if object is in a rectangle
Old
acrimon
Guest
 
Status:
Posts: n/a
Default Check if object is in a rectangle - 01-31-2009, 01:10 AM

Hi,

I need to check if a certain object is located in a given rectangle. In my world, I have a set of candy canes arranged in a rectangle, and I need to check if all of them are in a perimeter, which will be patrolled by another object. I'm wondering, is there any way that I can access the individual components of a Vector3 in Alice so I can perform the math accordingly? Or is there a different way to do this?

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