I'm trying to make a communications array point at a selectable target. It's easy enough for vessels, by getting their global position, transforming them to local ones and rotate the antenna accordingly (already working).
It wouldn't be any more difficult for planets, if I could only figure out how to get the global coordinates of planets. It's probably just one more thing I'm missing in the API docs, but I can only find functions to retrieve positions for light sources or vessels.
It wouldn't be any more difficult for planets, if I could only figure out how to get the global coordinates of planets. It's probably just one more thing I'm missing in the API docs, but I can only find functions to retrieve positions for light sources or vessels.