Simple 3rd person character controller script. More...
Public Attributes | |
Animator | anim |
CharacterController | cc |
AnimationCurve | accel_curve |
AnimationCurve | dccel_curve |
float | turnspeed = 100.0f |
float | max_speed = 3.0f |
float | min_speed = -3.0f |
float | jump_force = 5.0f |
Public Attributes inherited from AVR.Core.AVR_Component | |
UnityEngine.Events.UnityEvent | onAwake |
Events called when this component awakes. More... | |
UnityEngine.Events.UnityEvent | onStart |
Events called when this component starts. More... | |
UnityEngine.Events.UnityEvent | onEnable |
Events called when this component is enabled. More... | |
UnityEngine.Events.UnityEvent | onDisable |
Events called when this component is disabled. More... | |
Protected Member Functions | |
override void | Start () |
Protected Member Functions inherited from AVR.Core.AVR_Component | |
virtual void | Awake () |
virtual void | OnEnable () |
virtual void | OnDisable () |
Private Member Functions | |
void | Update () |
Private Attributes | |
float | speed = 0.0f |
float | yspeed = 0.0f |
float | accel_t = 0.0f |
float | dccel_t = 0.0f |
Additional Inherited Members | |
Public Member Functions inherited from AVR.Core.AVR_Behaviour | |
virtual void | OnDestroy () |
Protected Attributes inherited from AVR.Core.AVR_Behaviour | |
AVR_PlayerRig | playerRig => AVR_PlayerRig.Instance |
The current AVR_PlayerRig instance in the scene More... | |
AVR_Root | root => AVR_Root.Instance |
The current AVR_Root instance in the scene More... | |
bool | vrEnabled => UnityEngine.XR.XRSettings.enabled |
True if the application is running as a VR/XR application More... | |
Simple 3rd person character controller script.
Definition at line 12 of file AVR_ThirdPersonCharacterController.cs.