Talk:Celestia/Celx Scripting/CELX Lua Methods/CEL command gotolonglat

Trivial but confusing for novices to Celestia (like myself). BTW, thanks to all who have contributed to this great tool! In the observer:gotolonglat example code, a camera vector is defined on line 9.

upaxis = celestia:newvector(0,1,0)

but not used in the following line 10. obs:gotolonglat(earth, longitude, latitude, earthdistance, 5.0, upvector)

This line should most likely use the previously defined "upaxis" rather than "upvector".

obs:gotolonglat(earth, longitude, latitude, earthdistance, 5.0, upaxis)