Page 1 of 1

Celestia v1.5.0pre2 url bug

Posted: 28.12.2006, 17:32
by selden
Some URLs don't work when barycenters are involved.

In particular, the Follow url below does not Follow the body.

With this STC file

Code: Select all

Barycenter "Tripoint"
{
   RA           26.25
   Dec          -6.21
   Distance     12.43
}

Star "Tripoint A"
{   
   OrbitBarycenter "Tripoint"
   SpectralType "T1V"
   AbsMag 25.75
   EllipticalOrbit {Period 110 SemiMajorAxis   10}
}

Barycenter "Tripoint B-C"
{
   OrbitBarycenter "Tripoint"
   EllipticalOrbit {Period 110 SemiMajorAxis   8 }
}

Star "Tripoint B"
{
   OrbitBarycenter "Tripoint B-C"
   SpectralType "T4V"
   AbsMag 28.28
   EllipticalOrbit { Period  0.02 SemiMajorAxis   0.035}
}

Star "Tripoint C"
{
   OrbitBarycenter "Tripoint B-C"
   SpectralType "T6V"
   AbsMag 30.05
   EllipticalOrbit {Period 0.02 SemiMajorAxis   0.054}
}



and this SSC file

Code: Select all

"body" "Tripoint" {
   Class "spacecraft"
   Radius 0.150
   EllipticalOrbit { SemiMajorAxis 20.1 Period       221.8}
}


This "//Follow/body/" url
test_follow_body

goes to the body but does not Follow it: the body is not selected and goes flying off into the distance. (I don't know if the url is missing information or if it's being interpreted incorrectly.)