Methods
Navigation

updateNavigation

Starts a navigation movement.

This method initiates a navigation movement. The movement will continue until the stopNavigation method is called.

Example



Usage

JS


Parameters

navigationMovement

The navigation movement to start.

Type

Required

Map[Number]

Yes

Properties

Name

Type

Required

Description

key

Number

Yes

The scale applied to the movement key

Valid movement keys are:

  • moveForward
  • moveBackward
  • moveLeft
  • moveRight
  • moveUp
  • moveDown
  • rotateUp
  • rotateDown
  • rotateLeft
  • rotateRight