Hello, I have a question about picking the closest object.
I have the following problem:
<img src="http://imageshack.us/m/62/555/questionx.jpg">
The small bar on the left is the user. The big blocks are the same object (copies).
When the user overlaps an object (as seen in row 2) and presses the space key, the object changes colour.
When the user overlaps both objects (as seen in row 3) and presses the space key, the closest object (to the user) should change colour. But as you can see in row 3, that doesn't happen in my case.
I've tried to use the pick closest condition, but that didn't work. Does anyone have an idea on how to solve this?
Edit: I've also tried the 'pick by comparison and then compared object.x and object.x (but I think that it compares the same object's value against the same object's value..)
Thank you,
Maarten