Satellite axes visualisation, orbit a satellite problem

All about writing scripts for Celestia in Lua and the .cel system
Topic author
GregVDS
Posts: 7
Joined: 25.02.2005
With us: 19 years 8 months
Location: Bruxelles

Satellite axes visualisation, orbit a satellite problem

Post #1by GregVDS » 06.04.2005, 13:26

Hello,

I try to write some script. I want to orbit an artificial satellite I made. The orbit should be perpendicular to the axis joining the satellite to the center of earth (I think the Z axis) but when I try orbit around 0 0 1 with some rate and duration, the camera seems to roll around the optical axis... 1 0 0 and 0 1 0 seems more logical, but I'm not sure if these X, Y and Z axes are the one defined into the 3ds file, or the ones defined by the orbit plane (Z being in the direction of the radius of the orbit, Y being tangent to the orbit, X being normal to the orbital plane, I think.

Well, I'm a little bit lost

Is there a way to display the axis for an object in Celestia?

Many thanks for the help

Greg

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 06.04.2005, 14:04

Selden


Return to “Scripting”