Anonymous wrote:I have still problems with the orientation off my model. My shuttle needs two 90degree rotations (x and y axis) but the Orientation command alow only one (Orientation [90 1 0 0] or Orientation [90 0 1 0]). If i use Obliquity or LongOfRotationAxis the shuttle spin in the orbit.
Use
RotationOffset, which is equivalent to a Y-axis rotation if Obliquity is zero:
Code: Select all
Orientation [90 1 0 0] # fix X-axis
RotationOffset 90 # fix Y-axis (or RotationOffset -90, if necessary)
You'll find most of these 2-axis problems are amenable to an X or Z reorientation followed by a RotationOffset.
The problem with your suggestion about Orientation is that the final orientation depends critically on the
order you perform the rotations in. So you need a way to differentiate X-followed-by-Y from Y-followed-by-X. (Perhaps if Celestia understood multiple Orientation commands, and carried them out in the order typed?)
Also, if your brain can accommodate it, the Orientation command will work with a diagonal axis
will rotate your object through 90 degrees around an axis midway between X and Y, which results in a two-axis reorientation. I find this impossible to hold in my head for more than a second, though, so I prefer to use the Orientation+RotationOffset solution above.
Grant