Celx question: turning (aka rotations)

All about writing scripts for Celestia in Lua and the .cel system
Topic author
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 4 months
Location: Massachusetts, USA

Celx question: turning (aka rotations)

Post #1by buggs_moran » 03.03.2008, 21:46

I have read all of the basic manuals on celx and I know there are ways to set up very complex rotations and movements with celx, but I am trying something very simple and do not want to over complicate it. (Mostly because I am very simple...)

First off, I do not want to use the goto command. I have set up/modified a script that starts off outside the solar system, selects a planet, moves in on the planet quickly and as the distance between the observer and planet shrinks the speed falls off, very nice and all... What I want to do is, while the speed is dropping off, turn the observer at an angle in the xz plane so as to pass by the planet while slowing.

Any help appreciated.
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

Topic author
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 4 months
Location: Massachusetts, USA

Post #2by buggs_moran » 04.03.2008, 01:06

Forget it, I figured it out...
Homebrew:

WinXP Pro SP2

Asus A7N8X-E Deluxe

AMD Athlon XP 3000/333 2.16 GHz

1 GB Crucial RAM

80 GB WD SATA drive

ATI AIW 9600XT 128M


Return to “Scripting”