BBMOD_Camera.update

A function defined in BBMOD_Camera.gml

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 © 2024, BlueBurn. Built on April 18, 2024 using GMDoc.