System closest to sector center

I have generated a cubic sector. How do I find the system closest to the center?

Comments

  • If its a standard sector, the center is point (0,0,0). So its the system closest to that. You'll have to look at the positions of the systems closest to that point to determine which is actually closest, or write a script to do it.

  • An alternate way of doing it is to do it backwards. Select a system, and set its position to 0,0,0, making it the center system.

  • Thank you sir. I will take a look at the scripting API. I do want to create a system as "reference" and make all measurements from it

  • Since you want a system at the center, its probably easiest just to move the system you want to the center. This way all coordinates would be relative to it.

Leave a Comment