How to define the Class for a 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

How to define the Class for a ReferencePoint

Post #1by Gauß » 25.06.2010, 19:55

I would like to use "ReferencePoint" for a asteroid-binary. How can I define the Class of the Barycenter-Orbit.
I tried this:

ReferencePoint "Barycenter" "Sol" {

Class "asteroid"
Visible true
Clickable true

EllipticalOrbit {
...
}
}

"Asteriod 1" "Sol/Barycenter" {

Class "asteroid"
Texture "asteroid.jpg"
...

But I only get a moon-like (green) orbit and name for the Barycenter and an asteroid-like (brown) for the asteroid. I would like to have the class "asteroid" for both "objects".

Return to “Help Central”