Orbiting, chasing - a couple of q's.

General discussion about Celestia that doesn't fit into other forums.
Topic author
Dr Norman Bates

Orbiting, chasing - a couple of q's.

Post #1by Dr Norman Bates » 17.07.2003, 04:26

Is there a way of using the keyboard to orbit a selected object (rather than right mouse button) ?

Also - I'm having some trouble understanding what "chase" does. Would someone care to clarify (with respect to, say, what "lock" does) ?

Thanks to all who make this such an incredible simulation.

Dr. N.

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Re: Orbiting, chasing - a couple of q's.

Post #2by chris » 19.07.2003, 04:49

Dr Norman Bates wrote:Is there a way of using the keyboard to orbit a selected object (rather than right mouse button) ?


Well, there wasn't until about 10 minutes ago . . . :)

I just added some code to allow orbiting with the keyboard by holding shift while pressing the arrow keys. If I recall correctly this is the same key combination used by Orbiter; it works equally well in Celestia now.

Thanks for the suggestion.

--Chris

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 5 months
Location: Colorado, USA (7000 ft)

Post #3by don » 19.07.2003, 05:30

Thanks for adding these new keystrokes Chris!

I too am interested to know more about chase, from anyone "in the know" (smile).

-Don

-Shadow-
Posts: 156
Joined: 18.04.2003
With us: 21 years 7 months
Location: Warbird D'Kara - Recreational area

Post #4by -Shadow- » 19.07.2003, 18:11

Will there be some sort of On/Off for the orbit?
Since the holding down Shift and pressing arrow keys is already used,
maybe there could be some sort of activation sequence like Shift + O
to activate and turn off the new orbit function instead of assigning new keys to the rotate view and look up, down, and replacing them with the orbit keys the On/Off thing could be implemented. If your adding something like this That's great and if you aren't I'll still be happy. :wink:
Will the new orbit keys be something like this?
Shift + up - enter orbit
Shift + down - exit orbit
Shift + left - Orbit to the left
Shift + right - Orbit to the right
F2 to F3 - Orbit speed ( light speed + would look ridiculous IMO )


- Shadow
Image

"Certain it is and sure: love burns, ale burns, fire burns, politics burns, but cold were life without them." - Romulan proverb

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 5 months
Location: Colorado, USA (7000 ft)

Post #5by don » 19.07.2003, 18:31

Howdy Shadow,

The existing use of Shift+arrowKey may be a mistake, since it does the same exact things as just plain arrow keys. So, Chris probably does a check to see if the Shift key is pressed, and then does something different.

As to enter/exit orbit, I believe the request was simply to have the right-click+drag functions duplicated on the keyboard -- orbit the selected planet in any direction (up, down, left, right).

If I am mistaken, I hope Chris jumps in to correct (smile).

-Don

-Shadow-
Posts: 156
Joined: 18.04.2003
With us: 21 years 7 months
Location: Warbird D'Kara - Recreational area

Post #6by -Shadow- » 19.07.2003, 18:38

Oops my mistake for the shift + arrows then.
I know he was requesting just to have the right-click+drag functions duplicated on the keyboard but I was just saying it would be cool to have the other stuff. Hmm Maybe Shift + arrows just for the orbit in any direction and Shift + O to activate the stuff i suggested.
That would be cool...

- Shadow
Image



"Certain it is and sure: love burns, ale burns, fire burns, politics burns, but cold were life without them." - Romulan proverb

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #7by chris » 19.07.2003, 18:58

don wrote:As to enter/exit orbit, I believe the request was simply to have the right-click+drag functions duplicated on the keyboard -- orbit the selected planet in any direction (up, down, left, right).

If I am mistaken, I hope Chris jumps in to correct (smile).

Affirming, not correcting . . . :)
You're exactly right about the function of shift+arrow keys.

--Chris

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 5 months
Location: Colorado, USA (7000 ft)

Post #8by don » 19.07.2003, 19:20

-Shadow- wrote:... it would be cool to have the other stuff. Hmm Maybe Shift + arrows just for the orbit in any direction and Shift + O to activate the stuff i suggested.
That would be cool...

- Shadow


Ahhh, so you're looking for some way to orbit an object non-synchronously, but automatically, instead of using the arrow keys / right-click+drag to change your position? Hmmm, and there's no way to do this currently?

I wonder if a script could do this? Get to where you want to be, and then run a script that does an automatic orbit?

-Don

-Shadow-
Posts: 156
Joined: 18.04.2003
With us: 21 years 7 months
Location: Warbird D'Kara - Recreational area

Post #9by -Shadow- » 19.07.2003, 20:57

A script could probably do the Shift + O activate thing
and my list commands;
Shift + up - enter orbit
Shift + down - exit orbit
Shift + left - Orbit to the left
Shift + right - Orbit to the right
F2 to F3 - Orbit speed

Though I don't really know much about scripting in Celestia, I can't even Draw anything decent in photoshop! That's why I started doing things in Flash MX, I don't have to draw anything that looks amazing :D

- Shadow
Image



"Certain it is and sure: love burns, ale burns, fire burns, politics burns, but cold were life without them." - Romulan proverb


Return to “Celestia Users”