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 based on the Vector Elements. This is just a position and velocity, with an optional orbiting body.

Parameters

NameDescription
position
velocity
orbitingBodyThe name of the body orbiting