Moves a 3D coordinate a given distance, toward another coordinate.
moveToward(coord, distance);
Parameter |
Description |
coord |
Can be SGCoord2D, SGCoord3D or SGPosition |
distance |
The distance to move. |
Return Value
An SGCoord3D object that represents the new position after the move.