Declared in Spacecraft
Declaration
void SetVectorElements(
Vector3 position,
Vector3 velocity,
string orbitingBody
);Description
Sets the position and velocity of a body to a series of parameters.
Parameters
| Name | Description |
|---|---|
| position | [m] The position of the body. |
| velocity | [m/s] The velocity of the body. |
| orbitingBody | The name of the body orbiting. |