I apologize in advance if the answer to this is obvious, I'm new to Celestia (and programming). I did look over the documentation and example scripts, but I couldn't find a functioning solution.
If I have a set of specific J2000 xyz coordinates, for example:
X position = -847240.652083542
Y position = 1198210.4520832503
Z position = 394340.61068604764
How can I travel/"go to" that point?
Many thanks.
Traveling to a J2000 Position
-
Topic authorInterlunar
- Posts: 2
- Joined: 11.09.2022
- With us: 2 years 2 months
-
- Site Admin
- Posts: 706
- Joined: 22.09.2018
- With us: 6 years 1 month
observer::gotolocation() - this function should help you.
-
Topic authorInterlunar
- Posts: 2
- Joined: 11.09.2022
- With us: 2 years 2 months
observer::gotolocation() - this function should help you.
Thank you for the help. That function seems to be heading in the right direction, but I'll admit I was not able to make it work with J2000.
I'm wondering if it might be possible to go to the J2000 position by listing it in a spacecraft .xyzv file, I'll give that a try also.