Select to view content in your preferred language

Finding highest altitude within extents

379
0
03-09-2023 03:28 AM
Thomas-F
Occasional Contributor

I'm interested in being able to determine the highest altitude on an elevated local map within the set extents. 

My current approach would be to create a box collider above the map and move it up / down to find the highest point at which it intersects with the map mesh. I can use a binary search style approach to find this in a reasonably low number of intersection checks. The problem with this approach is that it doesn't give an exact result, but rather an approximation depending on a precision threshold which controls when to stop doing intersection checks and accept the result.

Is there any API available through the SDK that might help me in calculating this?

0 Kudos
0 Replies