when you pass the location parameter into the function, does the function automatically use the orientation part of the location in determining the orientation of the cubes?
Modifié par M. Rieder, 13 juin 2011 - 07:15 .
Modifié par M. Rieder, 13 juin 2011 - 07:15 .
MasterChanger wrote...
Indeed, good to know.
One other thing to think about: you aren't necessarily ultimately limited to the shapes that Get*ObjectInShape accepts. You can circumscribe the shape you care about with one of the accepted shapes, and can then test mathematically whether it's in the sub-shape.
For example, you can surround your rectangle with a circle/square/cylinder. Then you can test the position of objects retrieved by the Get*ObjectInShape functions to see whether they're within the x-y values you care about.