I wonder if anyone can shed some light on this problem....
I am trying to orientate a CMOD model using the FixedRotation command.
The model is such that when displayed in Celestia using the following code, it is vertical (with Y-axis pointing up relative to a given reference object).
Code: Select all
FixedRotation
{
Inclination 0 # rotate about the X-axis
AscendingNode 0 # rotate about the Y-axis
MeridianAngle 0 # rotate about the Z-axis
}
The following seems to correctly rotate it about the X-axis as expected (ie. model flips forward/backward by 45 degrees)
Code: Select all
FixedRotation
{
Inclination 45 # rotate about the X-axis
AscendingNode 0 # rotate about the Y-axis
MeridianAngle 0 # rotate about the Z-axis
}
and the following also seems to work as expected (rotating left/right by 45 degrees)
Code: Select all
FixedRotation
{
Inclination 0 # rotate about the X-axis
AscendingNode 0 # rotate about the Y-axis
MeridianAngle 45 # rotate about the Z-axis
}
however, I cannot get it to rotate about the Y-axis in the same way as expected. The following code seems to place it into exactly the same orientation as the Z-axis version above.
Code: Select all
FixedRotation
{
Inclination 0 # rotate about the X-axis
AscendingNode 45 # rotate about the Y-axis
MeridianAngle 0 # rotate about the Z-axis
}
Is this a bug, or is there an error in my assumptions about how this should work?
Cheers
CC