Jump to content
h4wek

lineIntersects not working in DEV version

Recommended Posts

Following commands lineIntersectsWith, lineIntersects,lineIntersectsObjs not discovering any objects on line i DEV version (what happen there people - every next update make more bugs ?!)

 

?imw=5000&imh=5000&ima=fit&impolicy=Lett?imw=5000&imh=5000&ima=fit&impolicy=Lett

in normal version too is the same bug.

Anyway I don't rememeber it this command work in past too so take care of it beacouse using 

lineIntersectsSurfaces is little frustrating if are commands to detect intersections with objects in on shot.

 

 

Share this post


Link to post
Share on other sites
On 4/20/2022 at 12:40 AM, h4wek said:

Following commands lineIntersectsWith, lineIntersects,lineIntersectsObjs not discovering any objects on line i DEV version (what happen there people - every next update make more bugs ?!)

 

?imw=5000&imh=5000&ima=fit&impolicy=Lett?imw=5000&imh=5000&ima=fit&impolicy=Lett

in normal version too is the same bug.

Anyway I don't rememeber it this command work in past too so take care of it beacouse using 

lineIntersectsSurfaces is little frustrating if are commands to detect intersections with objects in on shot.

 

 

You're checking the line intersection under the terrain.
Those commands use ASL height, not AGL or whatever it is you're using.

Share this post


Link to post
Share on other sites

look for coordinates on screens - those coordinates are above the ground not under every point is tranposed from model coordinates to world coordinates before using command of intersection (specially is used drawline for visualisation of those lines in space).

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×