Page MenuHomeFeedback Tracker

A scripting command to check if position (or entity) is inside Geometry LOD of another entity
New, NormalPublic

Description

I'd like to request an area check command that would check if provided position (entity) is inside provided entity's Geometry LOD. This seems like a pretty basic operation, especially since Geometry LOD shapes are convex, and it must be available somewhere in the engine.

Having scripted access to it would speed up precise area checks greatly, without having to do costly intersect ray casts, which are not very reliable for this exact task, because they're per world and not per entity.

Most useful usage would be quickly checking if object in inside terrain rocks.
Other usages would be calculating appropriate placement positions and making sure they're not inside other entities, without costly intersect rays.
Another usage would be creating special models just for precise 3d complex area checks, this way you could spawn it in as local simple object, position it, do the check and delete it.

Suggested syntax:

BOOL = ENTITY/POSITION inGeometryOf ENTITY

Details

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

Event Timeline

SaMatra created this task.Apr 21 2023, 4:24 AM

I'd prefer position to be ASL\World and not AGL btw.

This comment was removed by LouMontana.