PDA

View Full Version : How do I use distanceInFront of consistently?


h4l0
05-31-2009, 06:12 AM
How does Alice calculate distanceInFrontOf?

I don't quite understand how it should?

The attached world displays how far the blue ball is in front of the purple ball. For some reason it is changed by the orientation of the blu ball.

h4l0

b00kworm
07-25-2009, 10:36 PM
I would like to know the answer to this question also.

Veryuhbull
07-25-2009, 11:22 PM
from the looks of it the comp uses the front point on the purple and the back point on the blue. (Using the bounding boxes)

This version makes it more obvious.