Page 1 of 1

locking camera in Sun Earth corotating frame ecliptic

Posted: 10.05.2009, 12:18
by astro
I am trying to lock the camera in the Sun Earth co-rotating frame ecliptic centered on Earth
I have tried this:

Code: Select all

select { object "Sol/Earth" }
follow { }
select { object "Sol" }
lock   { }

But this locks the camera "up" axis to be fixed relative to the projection of the Earth Z body axis and thus it makes the ecliptic appears to rotate one way and then the other with a one year period.

So I tried this :

Code: Select all

select { object "Sol/Earth" }
setframe { ref "Sol/Earth" coordsys "ecliptical" }
follow { }
select { object "Sol" }
lock   { }

But it didn't change anything.

Is there a way to make the camera orientation fixed relative to Sun Earth direction + ecliptic Z axis in the script without creating a new body fixed to Earth with body frame equal to ecliptic in the ssc?

Thanks

Re: locking camera in Sun Earth corotating frame ecliptic

Posted: 10.05.2009, 13:54
by selden
It acts differently in Celestia v1.6.0RC1, so you might give that a try.

See viewtopic.php?f=2&t=13710