Spacecraft.CentralBody Property

Top 

Description

Name of the body that defines the origin of the Spacecraft's position and velocity. This can be a user-defined CelestialObject or one of the following pre-defined bodies:

 

Mercury

Venus

Earth

Mars

Jupiter

Saturn

Uranus

Neptune

Pluto

Moon

Sun

 

In order to translate the origin of a Spacecraft's state to a different central body, simply change the Spacecraft.CentralBody property.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Attributes

Type:

string

Access:

read/write

Default Value:

"Earth"

 

Syntax

myString1 = mySpacecraft1.CentralBody;

 

mySpacecraft1.CentralBody = myString1;

 

Example 1

 

Example 2

 

See also

Spacecraft Object

Spacecraft.CentralBody

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide