Orientation doesn't work within timeline
Posted: 02.07.2008, 11:31
Hello, I just figured out that "Orientation" function in SSC doesn't work while inside "Timeline" function. Here's the code:
The only difference between these two is that orientation is inside or outisde the timeline function. In result, models are tilted about 90 degrees o each other. Is it a bug, or it was planned? How to fix it?
I use 1.6.0 r.4367, on Windows Vista. No modifications.
Code: Select all
"Venus Express 1" "Sol/Venus"
{
Class "spacecraft"
Mesh "Venus Express.cmod"
Radius 0.004
Timeline [
{
EllipticalOrbit
{
Period 1
SemiMajorAxis 39627
Inclination 90
Eccentricity 0.8296
LongOfPericenter -80
MeanAnomaly 190
}
Orientation [90 -1 0 0]
RotationOffset 290
}
]
}
"Venus Express 2" "Sol/Venus"
{
Class "spacecraft"
Mesh "Venus Express.cmod"
Radius 0.004
Timeline [
{
EllipticalOrbit
{
Period 1
SemiMajorAxis 39627
Inclination 90
Eccentricity 0.8296
LongOfPericenter -80
MeanAnomaly 190
}
RotationOffset 290
}
]
Orientation [90 -1 0 0]
}
The only difference between these two is that orientation is inside or outisde the timeline function. In result, models are tilted about 90 degrees o each other. Is it a bug, or it was planned? How to fix it?
I use 1.6.0 r.4367, on Windows Vista. No modifications.