A function defined in BBMOD_Camera.gml

update(_deltaTime[, _positionHandler])


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


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.


Struct.BBMOD_Camera Returns self.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.