CameraControls

Back to reference

Interface between user input and camera controls

Members

Methods

Returns Methods Description
_handleMouseWheel ( inputObject ) This code was the same algorithm used by ROBLOX.
_mouseTranslationToAngle ( translationVector ) This is also a ROBLOX algorithm.

Methods Descriptions

CameraControls:_handleMouseWheel ( inputObject )

This code was the same algorithm used by ROBLOX. It makes it so you can zoom easier at further distances.

Parameters

  • inputObject

CameraControls:_mouseTranslationToAngle ( translationVector )

This is also a ROBLOX algorithm. Not sure why screen resolution is locked like it is.

Parameters

  • translationVector