Only one planet is drawn, the other one disappeared or when there are two planets orbiting each other I can't make them tidally locked.

What can be the problem?

Stc:

Code: Select all

`Barycenter "PROGRAM001" `

{

RA 50

Dec 50

Distance 100

}

Barycenter "PROGRAM001x"

{

OrbitBarycenter "PROGRAM001"

EllipticalOrbit {

Period 20

SemiMajorAxis 8000

Eccentricity 0

Inclination 90

AscendingNode 0

ArgOfPericenter 0

Epoch 0

}

}

Star "PROGRAM002"

{

SpectralType "M1.0V"

Radius 800000

AbsMag 4

Oblateness 0.009

OrbitBarycenter "PROGRAM001x"

EllipticalOrbit

{

Period 3

SemiMajorAxis 20

ArgOfPericenter 0

Inclination 90

MeanAnomaly 0

}

UniformRotation

{

Period 900

Inclination 0

AscendingNode 0

MeridianAngle 0

}

}

Ssc:

Code: Select all

`"PROGRAM003barycenter" "PROGRAM002"`

{

Class "planet"

Radius 0.0000001

EllipticalOrbit

{

Period 0.1

SemiMajorAxis 0.2

Eccentricity 0

Inclination 90

}

}

"PROGRAM004" "PROGRAM002/PROGRAM003barycenter"

{

Texture "earth.*"

Radius 5000

EllipticalOrbit

{

Period 28

SemiMajorAxis 250000

Eccentricity 0

Inclination 45.6

AscendingNode 41.256

LongOfPericenter 301.0

MeanAnomaly 53.2

}

FixedRotation { Inclination 90 AscendingNode 0}

}

Modify "PROGRAM004" "PROGRAM002/PROGRAM003barycenter"

{

BodyFrame {

TwoVector {

Center "PROGRAM002/PROGRAM003barycenter/PROGRAM004"

Primary {

Axis "z"

RelativePosition { Target "PROGRAM002/PROGRAM003barycenter" }

}

Secondary {

Axis "x"

RelativeVelocity { Target "PROGRAM002/PROGRAM003barycenter" }

}

}

}

}

"PROGRAM005" "PROGRAM002/PROGRAM003barycenter"

{

Texture "earth.*"

EllipticalOrbit

{

Period 28

SemiMajorAxis 250000

Eccentricity 0

Inclination 45.2

AscendingNode 41.256

LongOfPericenter 301.0

MeanAnomaly 233.2

}

FixedRotation { Inclination 90 AscendingNode 0}

}

Modify "PROGRAM005" "PROGRAM002/PROGRAM003barycenter"

{

BodyFrame {

TwoVector {

Center "PROGRAM002/PROGRAM003barycenter/PROGRAM005"

Primary {

Axis "z"

RelativePosition { Target "PROGRAM002/PROGRAM003barycenter" }

}

Secondary {

Axis "x"

RelativeVelocity { Target "PROGRAM002/PROGRAM003barycenter" }

}

}

}

}