Rate 1: what acceleration does it correspond to?

All about writing scripts for Celestia in Lua and the .cel system
Topic author
amoroso
Posts: 50
Joined: 07.06.2003
With us: 21 years 5 months

Rate 1: what acceleration does it correspond to?

Post #1by amoroso » 11.06.2005, 19:58

In a changedistance CEL command, to which linear acceleration does a rate of 1 correspond to? I mean in units such as ms^-2.

Paolo

cpotting
Posts: 164
Joined: 18.03.2004
Age: 63
With us: 20 years 8 months
Location: Victoria, BC Canada

Re: Rate 1: what acceleration does it correspond to?

Post #2by cpotting » 20.07.2005, 13:09

It does not correspond to any particular acceleration or speed. When the changedistance command is used the new distance is calculated based on the current distance, the size of the object being orbited, the current timescale (if I am reading the code correctly) and the rate parameter you supply. The rate of movement is exponential between the starting and ending distances.

In other words, the movement is calculated to make the camera movement look good, not to conform to a realistic "propulsion system" form of movement.

Sorry, not much help I guess...
Clive Pottinger
Victoria, BC Canada


Return to “Scripting”