update

function

update(_deltaTime[, _positionHandler])

Description

Handles mouselook, updates camera's position, matrices etc.

Arguments

Name Type Description
_deltaTime Real How much time has passed since the last frame (in microseconds).
_positionHandler Function A function which takes the camera's position (@{link BBMOD_Vec3}) and returns a new position. This could be used for example for camera collisions in a third-person game. Defaults to undefined.

Returns

Struct.BBMOD_Camera Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.