moveForward

fun moveForward(amount: Double? = definedExternally)(source)

Translates the camera's position by amount along the camera's view vector. When in 2D mode, this will zoom in the camera instead of translating the camera's position.

Parameters

amount

The amount, in meters, to move. Defaults to defaultMoveAmount.

See also