I was testing the get distance to a place. I had the vector (0.00284, -0.00934, 0) the landing zone 1 and vector nav location. It was getting enormous numbers so I went and got the individual x, y, and z distances. The y was exactly where it was supposed to be but the x and z were way off. Should I not use vectors?
Why does the get distance from a point return huge number on the x and z planes when I know that the location is right next to me?
          4,813
          TweedleAerospace
        
    
    4.8 years ago 
Tags
Vizzy5 Comments
- Log in to leave a comment
- 
        
- 
        10.6k sflanker4.8 years agoMixing PCI vectors and Lat Lon? The vector you mentioned is definitely Lat Lon so if you want to compare it with nav |Position|you will need to convert that to Lat Lon as well.
- 
        4,813 TweedleAerospace4.8 years agoOn start 
 while true
 Set variable distanceX to vector (0.00234, -0.00934, 0) distance between vector nav position
 while
- 
        4,813 TweedleAerospace4.8 years ago@sflanker you are probably the best person for this. Do you know what I did wrong? 
No Upvotes
                      Log in in to upvote this post.
                    
                 
                    
@sflanker that worked well. Thank you!