On 28/04/2018 at 16:15, xxxxxxxx wrote:
I am working on a Python generator that casts rays (using GeRayCollider) at objects in the scene. I do not want the objects to be children of the generator, instead I'd like to add them to an In/Exclusion list on the generator.
Since GeRayCollider operates in object space I am facing some challenges when the objects on the In/Exclude list are in the middle of a hierarchy. I also need the objects to end up as PolygonObjects, for which I am currently using SendModelingCommand with Current State to Object.
This got me thinking: how could I go about collapsing all of the objects on an In/Exclusion into a single polygonal object with an identity global matrix while maintaining point/polygon positions for the purposes of raycasting?