Class of ReferencePoint

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
Gauß
Posts: 6
Joined: 23.12.2009
With us: 14 years 11 months

Class of ReferencePoint

Post #1by Gauß » 08.05.2011, 09:22

Hi,
I would like to create a double-asteroid. I tried this:

ReferencePoint "[name]" "Sol"
{
Class "asteroid"
Visible true
Clickable true

[...]
}

The orbit is green and it disappears when I uncheck the orbits for moons. :cry:
I would like to have a ReferencePoint with the class "asteroid".
Copy Pluto-Charon does not help because it uses CustomOrbit. :(

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Class of ReferencePoint

Post #2by selden » 08.05.2011, 11:30

This is a limitation in Celestia.

However, if the masses are enough different that you don't need to have them both orbiting around the same point, you can make them both asteroids. Leave off the ReferencePoint prefix.

Alternatively, make the third "barycenter" object invisibly tiny with a miniscule albedo. Another way to hide it is to use a mesh that has a fully transparent opacity value in its material definition.
Selden


Return to “Help Central”