CELX Script trip from earth to the sun
Posted: 23.09.2009, 11:48
Hello,
I need a celx script that takes me from the earth to the sun at a given speed in real time. I don't need anything fancy just as simple as possible. I thought that this would do the trick
but for some reason it takes me away from the sun and towards it.
Cheers,
Thomas
I need a celx script that takes me from the earth to the sun at a given speed in real time. I don't need anything fancy just as simple as possible. I thought that this would do the trick
Code: Select all
obs = celestia:getobserver()
sol = celestia:find("Sol")
celestia:select(sol)
obs:center(sol)
obs:setspeed(0.0225)
but for some reason it takes me away from the sun and towards it.
Cheers,
Thomas