Is it possible to add the selection name to lineIntersectsSurfaces returned arrays?
This saves people from doing another intersection using the intersect command.
The returned array becomes:
[[intersectPosASL, surfaceNormal, intersectObj, parentObject, selectionName], ...]
if the intersected surface doesn't belong to a named selection, "" is returned.
Also if the surface properties (bisurf) could be returned as well it would be even better!
[[intersectPosASL, surfaceNormal, intersectObj, parentObject, selectionName, pathToBisurf], ...]
Since a loadConfig command has been added, having the surface properties allows measuring bullet penetration through a surface as well, which will open lots of new scripting opportunities!