Skip to main content

InworldCameraController

Module: Inworld.Assets. Namespace: Inworld.Sample. Inherited from MonoBehavior

This is the Inworld customized version of Unity's SimpleCameraController. Used in Inworld's PlayerControllerRPM prefab.

Inspector Variables

VariableDescription
boostExponential boost factor on translation, controllable by mouse wheel.
positionLerpTimeTime it takes to interpolate camera position 99% of the way to the target.
mouseSensitivityCurveX = Change in mouse position.
Y = Multiplicative factor for camera rotation.
rotationLerpTimeTime it takes to interpolate camera rotation 99% of the way to the target.
invertYWhether or not to invert our Y axis for mouse input to rotation.