A Hamburgler Posted May 14, 2018 Share Posted May 14, 2018 Got another question does anyone know of a function or method to check if a position is on a road or runway. Like a vec2 or 3 position. Link to comment Share on other sites More sharing options...
A Hamburgler Posted May 14, 2018 Author Share Posted May 14, 2018 (edited) I found this in the moose framework. COORDINATE:GetClosestPointToRoad() I’m thinking about doing a distance check from my first coordinate to the closet road and if it’s within a certain distance my first coordinate is on a road or very close to it. Now I just gotta figure out how to do that. So if someone has an idea let me know. Just hope it works for runways because that what I really need it for. Edit: After some deep research I found this http://wiki.hoggitworld.com/view/DCS_func_getSurfaceType looks like it will work will try it when I get home. Edited May 14, 2018 by A Hamburgler Link to comment Share on other sites More sharing options...
Recommended Posts