Page MenuHomeFeedback Tracker

[Feature Request] Return selection name and surf properties in lineIntersectsSurfaces
Feedback, NormalPublic

Description

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!

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

h- added a subscriber: h-.Feb 28 2022, 3:46 PM
Leopard20 updated the task description. (Show Details)Mar 7 2022, 1:35 PM
Leopard20 renamed this task from [Feature Request] Return selection name in lineIntersectsSurfaces to [Feature Request] Return selection name and surf properties in lineIntersectsSurfaces.
Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)Mar 7 2022, 3:52 PM
Leopard20 updated the task description. (Show Details)Mar 29 2022, 10:41 AM
dedmen claimed this task.Apr 21 2022, 10:44 AM
dedmen changed the task status from New to Assigned.
dedmen set Ref Ticket to AIII-55112.
dedmen changed the task status from Assigned to Feedback.Apr 21 2022, 12:28 PM

Dev branch next week, please ping on discord if there are problems