ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.
Furthermore, I was wondering if for the development of a launcher, the stage separation could be modelled as an animation or if there is other options.
I am not sure I am following. During a playback, vessel states are interpolated from the external state samples. They are not propagated by Orbiter's state integrator. You can however mix replays with an active simulation, i.e. have some vessels played back from external data, and others actively propagated.It finally worked!! However, it seems that once you have propagated your own trajectory, a few parameters must be set in order to perform the simulation.
So, I am not pretty sure if Orbiter can perfom as a simply visualization tool without running its own propagator during the running simulation.
Furthermore, I was wondering if for the development of a launcher, the stage separation could be modelled as an animation or if there is other options.
Each line in the att file contains 4 numbers: time (relative to simulation start) and 3 Euler angles that define the spacecraft orientation against a reference frame.
Let's say the reference frame is the local horizon (I think this is the default). Then the Euler angles [math]\alpha, \beta, \gamma[/math] are the spacecraft's bank, pitch and yaw angle, respectively.
To convert between the Euler angles and a rotation matrix, consider that the rotation can be decomposed into 3 separate rotations: bank around the z-axis, pitch around the x-axis, and yaw around the y-axis:
[math]R = R_1 R_2 R_3[/math]
with
[math]
R_1 = \left[\begin{array}{ccc}
\cos\alpha & \sin\alpha & 0 \\
-\sin\alpha & \cos\alpha & 0 \\
0 & 0 & 1
\end{array}\right], \quad
R_2 = \left[\begin{array}{ccc}
1 & 0 & 0 \\
0 & \cos\beta & -\sin\beta \\
0 & \sin\beta & \cos\beta
\end{array}\right], \quad
R_3 = \left[\begin{array}{ccc}
\cos\gamma & 0 & -\sin\gamma \\
0 & 1 & 0 \\
\sin\gamma & 0 & \cos\gamma
\end{array}\right]
[/math]
and therefore
[math]
R = \left[\begin{array}{ccc}
\cos\alpha \cos\gamma - \sin\alpha \sin\beta \sin\gamma &
\sin\alpha \cos\beta &
-\cos\alpha \sin\gamma - \sin\alpha \sin\beta \cos\gamma \\
-\sin\alpha \cos\gamma - \cos\alpha \sin\beta \sin\gamma &
\cos\alpha \cos\beta &
\sin\alpha \sin\gamma - \cos\alpha \sin\beta \cos\gamma \\
\cos\beta \sin\gamma &
\sin\beta &
\cos\beta \cos\gamma
\end{array}\right]
[/math]
and to map back from R to the Euler angles:
[math]R_{32} = \sin\beta \Rightarrow \beta = \arcsin R_{32}[/math]
[math]\frac{R_{12}}{R_{22}} = \frac{\sin\alpha}{\cos\alpha} \Rightarrow \alpha = \arctan\frac{R_{12}}{R_{22}}[/math]
[math]\frac{R_{31}}{R_{33}} = \frac{\sin\gamma}{\cos\gamma} \Rightarrow \gamma = \arctan\frac{R_{31}}{R_{33}}[/math]
Note that if you use the ecliptic frame instead of the local horizon as reference, the definition of the Euler angles is a bit different, so the corresponding rotation matrices also look different. In that case they follow the definition in the documentation for VESSEL::GetGlobalOrientation().
Does that answer your question?