GroundVehicle.SurfaceVelocity Property

Top 

Description

The surface velocity (velocity tangent to the local surface) of the vehicle in km/hr. The first component is the velocity magnitude along the local East direction. The second component is the velocity magnitude along the local North direction. Manually overwriting this adjusts the GroundVehicle's Heading and Speed properties to reflect the new velocity direction and velocity magnitude.

 

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:

Array of number (size = 2)

Access:

read/write

Units:

km/hr

Default Value:

{ 65, 0 }

 

Syntax

myVariable1 = myGroundVehicle1.SurfaceVelocity[0];

 

myGroundVehicle1.SurfaceVelocity[0] = myVariable1;

 

See also

GroundVehicle Object