CelestialObject.FixedVelocityOfObject(Vehicle) Method

Top 

Description

Returns an Array containing the components of the velocity vector of targetVehicle relative to the calling CelestialObject, in its body-fixed coordinate frame.

 

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.

 

Method Signature

CelestialObject.FixedVelocityOfObject(

Vehicle targetVehicle)

 

 

Arguments

targetVehicle


Description:

Vehicle whose velocity relative to the calling CelestialObject will be returned.

Allowed Types:

Vehicle, GroundVehicle, Spacecraft

 

 

 

Return Value

Type:

Array of number (size = 3)

 

 

Returns an Array containing the components of the velocity vector of the target object relative to the prefix object, expressed in the body-fixed coordinate system of the prefix object.

 

Syntax

myArray1 = myCelestialObject1.FixedVelocityOfObject(myVehicle1);

 

 

See also

CelestialObject Object

CelestialObject.FixedVelocityOfObject

CelestialObjects Guide