move Method

Moves a 3D coordinate to a specific distance.

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

 

Parameter

Description

distance

The distance to move

yaw

Optional, default: 0.0

The direction to move

pitch

Optional, default: 0.0

The pitch angle to move

Return Value

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