Page MenuHomeFeedback Tracker

[Feature Request] New scripting command: SurfaceIntersectsObjs
New, NormalPublic

Description

Let's say I want to check if an object is blocking my way.
Currently you'd have to use lineIntersectsSurfaces at discrete steps , but you might miss some objects between the gaps.

But if we checked surface-with-surface intersects, it would be much more convenient and faster.

I would ask for SurfaceIntersectsSurfaces (with the same output as lineIntersectsSurfaces), but that format doesn't make any sense when you're intersecting a surface with another surface.

SurfaceIntersectsObjs [Surface, ignoreObj1, ignoreObj2, LOD1, LOD2, maxResults]

Surface: Array of ASL positions that form a surface (3 positions to ensure they can form a surface)
ignoreObj1 (Optional): Object - first object to ignore or objNull: Default: objNull
ignoreObj2 (Optional): Object - second object to ignore or objNull: Default: objNull
maxResults (Optional): Number - Max results to return. -1 to return every result. Default: 1
LOD1 (Optional): String - Primary LOD to look for intersection. Default: "VIEW"
LOD2 (Optional): String - Secondary LOD to look for intersection. Default: "FIRE"
Return value: Array of objects

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Feature Request

Event Timeline

Leopard20 created this task.Aug 6 2020, 2:09 PM
Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)Aug 6 2020, 2:12 PM
h- added a subscriber: h-.Aug 6 2020, 2:26 PM