move Method

Moves the coordinate a specific distance.

move(distance, [yaw], [pitch]);

 

Parameter

Description

distance

The distance to move

yaw

Optional, default: 0.0

The direction to move the coordinate

pitch

Optional, default: 0.0

The pitch angle to move the coordinate

Return Value

An SGPosition object that represents the new position after the move.