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
Variable | Description |
---|---|
boost | Exponential boost factor on translation, controllable by mouse wheel. |
positionLerpTime | Time it takes to interpolate camera position 99% of the way to the target. |
mouseSensitivityCurve | X = Change in mouse position. Y = Multiplicative factor for camera rotation. |
rotationLerpTime | Time it takes to interpolate camera rotation 99% of the way to the target. |
invertY | Whether or not to invert our Y axis for mouse input to rotation. |