THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/07/2011 at 00:30, xxxxxxxx wrote:
Cinema 4D Version: R10-R12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
Just a quick question about getting the intersections (by index) from a GeRayCollider result set: is there any default ordering of the results (farthest to nearest, nearest to farthest) or are they randomly indexed?
The reason that I ask is that Maya's API allows for testing in both directions of the ray source and sorting (from negative to positive linearly). I need to do something similar, the hard way since C4D's API does not have bidirectional testing.