Page MenuHomeFeedback Tracker

Improved Intersect commands
Acknowledged, WishlistPublic

Description

Right now we have great Intersect commands that are really usefull for a lot of neat things, but they have some limitations:

1- It always uses the same LOD for the test, so for example it will ignore fences or windows.

2- There is no direct way to get de exact point where the line intersects the object. You can workaround that by creating a loop with various checks that could get a really precise intersect point, but it isn't that efficient.

3- There is no way to know the surface normal on the intersection point. That could be used for things like attaching objects correctly or if you want to do some deflection calculation.Again you can workaround this by some kind of virtual shot, or an elavorate loop to kindda get the normal... but in this case it would be awfully inefficient

To solve this, it would be great to have a new lineIntersect command that have some extra features for example:

lineIntersectsAdvanced [begPos, endPos, objectFlags, [ignoredObjectsArray],usedLOD]

Params:
begPos: initial position.
endPos: end position.
ObjectFlags: Some kind of flags that lets you choose the type of objects you want to test. Something similar to the flags in lineIntersectsObjs could be enough.
ignoredObjectsArray: array of objects to ignore when doing the calculations
usedLOD: LOD to take on account when doing the calculations. Could be: "Geometry", "FireLOD", "ViewLOD, "roadway"

Return value:
Array with this info for each intersected object:
[
Object or objects found( using objectFlags),
Intersection point,
surface normal on that point
]

Details

Legacy ID
3288678698
Severity
None
Resolution
Open
Reproducibility
Have Not Tried
Category
Feature Request

Event Timeline

columdrum set Category to Feature Request.Apr 6 2015, 4:06 PM
columdrum set Reproducibility to Have Not Tried.
columdrum set Severity to None.
columdrum set Resolution to Open.
columdrum set Legacy ID to 3288678698.May 8 2016, 11:50 AM
columdrum added a subscriber: columdrum.

Edit: The concept its similar to an other older request i just found:

http://feedback.arma3.com/view.php?id=17012

I think mine its a bit more complete, but are related nevertheless