Loading...
Searching...
No Matches
AdventureCore.CameraController Class Reference

Detailed Description

simple camera controller for players that also manages cursor lock in the editor

https://adventure.softleitner.com/manual

Inheritance diagram for AdventureCore.CameraController:

Public Member Functions

void OnInput (InputAction.CallbackContext context)
 
void OnInput (InputValue value)
 
void OnInput (Vector2 value)
 

Public Attributes

float PitchMin = -30f
 
float PitchMax = 70f
 
bool InvertX = false
 
bool InvertY = true
 
float SpeedX = 1f
 
float SpeedY = 1f
 
LayerMask ObstructionLayers = 0
 
float ObstructionDistanceMin = 1f
 
float ObstructionDistanceMax = 10f
 
float ObstructionDistanceLift = 1f
 

Properties

virtual bool IsSuspended [get, set]