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

NameDescription
position[m] The position of the body.
velocity[m/s] The velocity of the body.
orbitingBodyThe name of the body orbiting.