A little orbit problem for the tricky users...

General discussion about Celestia that doesn't fit into other forums.
Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

A little orbit problem for the tricky users...

Post #1by billybob884 » 03.07.2003, 04:50

Ok, I did this once before but I don't remember how I did it: I want to make a satellite orbit a planet staying above one spot on the surface (I'll just put it on the equater to make it easier), and rotating so that one side will face the planet at all times (the bottom, obviously). Here's some of the info:

Code: Select all

   Radius    3425

   EllipticalOrbit   {
      Period             2.0   #730 days
      SemiMajorAxis      1.8794   
      Eccentricity       0.2286
      Inclination          0.0
      AscendingNode      0.0
      LongOfPericenter    90.0
           MeanLongitude      0.0
   }
   RotationPeriod    14.4
   Obliquity       0.0
}

That's for the planet. The ship's radius is 2.5. One more thing I should mention..., well, actually ask. What part of the code do I need to change to position the satellite on the surface?

Many, many thanks to anyone that can figure this out for me.
Mike M.

TacoTopia!

Topic author
billybob884
Posts: 986
Joined: 16.08.2002
With us: 22 years 3 months
Location: USA, East Coast

Post #2by billybob884 » 03.07.2003, 18:40

Ok, I'm getting closer. I've got it to stay on the surface above one spot, while oneside faces the planet at all times, but it's the wrong side. What part should I change?
Mike M.



TacoTopia!

JackHiggins
Posts: 1034
Joined: 16.12.2002
With us: 21 years 11 months
Location: People's Republic Of Cork, Ireland

Post #3by JackHiggins » 04.07.2003, 17:12

You could try

Orientation [180 1 0 0 ]

or

Orientation [180 0 1 0 ]

or

Orientation [180 0 0 1 ]

or

RotationOffset 180

or

some combination of the above!
- Jack Higgins
Jack's Celestia Add-ons
And visit my Celestia Gallery too!


Return to “Celestia Users”