- Home /
How to write a script to distance meassurment in a terrain
Hello,
i´m writing my beachlor thesis with unity. I have a 3D Model of a golf-place as a terrain. Now i have some problems. I´m programming in java script. My question is : ,,How i must write a code for a distance meassurment from my position at the terrain to a balk (maybe a tree or a banner)." I have a lot of trees created with the tree creator in the terrain options. SO the trees are no single objects (?) The next step is the including of live GPS-coordinates and take some meassurments in reality at the golf place.. How i should do this? Can somebody help me please?
Greetings Filip
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613135527im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
RTS units team 2 Answers
Syncing up two GameObjects' timestep 1 Answer
change instance color based on distance from player 0 Answers