Shooter Template
1.2.3
|
Public Member Functions | |
virtual void | Sprint (bool value) |
virtual void | Crouch () |
virtual void | Strafe () |
virtual void | Jump (bool consumeStamina=false) |
virtual void | Roll () |
virtual void | RotateWithAnotherTransform (Transform referenceTransform) |
Use another transform as reference to rotate More... | |
virtual void | UseAutoCrouch (bool value) |
Public Member Functions inherited from Invector.vCharacterController.vThirdPersonAnimator | |
virtual void | LayerControl () |
virtual void | ActionsControl () |
virtual void | SetActionState (int value) |
virtual void | MatchTarget (Vector3 matchPosition, Quaternion matchRotation, AvatarTarget target, MatchTargetWeightMask weightMask, float normalisedStartTime, float normalisedEndTime) |
virtual void | TriggerAnimationState (string animationClip, float transition) |
virtual bool | IsAnimatorTag (string tag) |
Public Member Functions inherited from Invector.vCharacterController.vThirdPersonMotor | |
override void | Init () |
virtual void | UpdateMotor () |
override void | TakeDamage (vDamage damage) |
Apply Damage to Current Health More... | |
virtual void | ReduceStamina (float value, bool accumulative) |
virtual void | ChangeStamina (int value) |
Change the currentStamina of Character More... | |
virtual void | ChangeMaxStamina (int value) |
Change the MaxStamina of Character More... | |
virtual void | DeathBehaviour () |
void | StaminaRecovery () |
virtual void | ControlLocomotion () |
virtual void | FreeMovement () |
virtual void | ControlSpeed (float velocity) |
virtual void | SetJumpMultiplier (float jumpMultiplier, float timeToReset=1f) |
virtual void | ResetJumpMultiplier () |
virtual void | AirControl () |
virtual float | GroundAngle () |
Return the ground angle More... | |
virtual float | GroundAngleFromDirection () |
Return the angle of ground based on movement direction More... | |
virtual void | DisableGravityAndCollision () |
Disables rigibody gravity, turn the capsule collider trigger and reset all input from the animator. More... | |
virtual void | EnableGravityAndCollision (float normalizedTime) |
Turn rigidbody gravity on the uncheck the capsulle collider as Trigger when the animation has finish playing More... | |
virtual void | RotateToTarget (Transform target) |
virtual void | RotateToDirection (Vector3 direction, bool ignoreLerp=false) |
virtual void | UpdateTargetDirection (Transform referenceTransform=null) |
Update the targetDirection variable using referenceTransform or just input.Rotate by word the referenceDirection More... | |
override void | ResetRagdoll () |
override void | EnableRagdoll () |
virtual string | DebugInfo (string additionalText="") |
Public Member Functions inherited from Invector.vHealthController | |
virtual void | ChangeHealth (int value) |
Change the currentHealth of Character More... | |
virtual void | ChangeMaxHealth (int value) |
Change the MaxHealth of Character More... | |
Static Public Attributes | |
static vThirdPersonController | instance |
Protected Member Functions | |
virtual void | Awake () |
override void | Start () |
override void | OnTriggerStay (Collider other) |
Call this in OnTriggerEnter or OnTriggerStay to check if enter in triggerActions More... | |
override void | OnTriggerExit (Collider other) |
Call this in OnTriggerExit to check if exit of triggerActions More... | |
IEnumerator | UpdateRaycast () |
virtual void | AutoCrouch () |
virtual bool | CanExitCrouch () |
virtual void | AutoCrouchExit (Collider other) |
virtual void | CheckForAutoCrouch (Collider other) |
Protected Member Functions inherited from Invector.vCharacterController.vThirdPersonAnimator | |
virtual void | OnAnimatorMove () |
virtual void | UpdateAnimator () |
virtual void | TriggerRandomIdle () |
virtual void | LocomotionAnimation () |
virtual void | FreeTurnOnSpot (float direction) |
virtual void | GetTurnOnSpotDirection (Transform root, Transform camera, ref float _speed, ref float _direction, Vector2 input) |
virtual void | RollAnimation () |
virtual void | DeadAnimation () |
Protected Member Functions inherited from Invector.vCharacterController.vThirdPersonMotor | |
void | RemoveComponents () |
override void | TriggerDamageReaction (vDamage damage) |
virtual void | StrafeMovement () |
virtual void | StrafeLimitSpeed (float value) |
virtual void | StrafeVelocity (float velocity) |
virtual void | FreeVelocity (float velocity) |
void | StopMove () |
virtual void | ControlJumpBehaviour () |
IEnumerator | ResetJumpMultiplierRoutine () |
virtual void | CheckGround () |
virtual void | CheckGroundDistance () |
virtual void | AlignWithSurface () |
Prototype to align capsule collider with surface normal More... | |
virtual void | Sliding () |
virtual bool | StepOffset () |
virtual void | ControlCapsuleHeight () |
virtual void | CheckRagdoll () |
virtual void | OnDrawGizmos () |
Protected Member Functions inherited from Invector.vCharacterController.vCharacter | |
virtual void | OnTriggerEnter (Collider other) |
Protected Member Functions inherited from Invector.vHealthController | |
virtual IEnumerator | RecoverHealth () |
virtual void | HealthRecovery () |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Call this in OnTriggerExit to check if exit of triggerActions
other |
Reimplemented from Invector.vCharacterController.vCharacter.
|
protectedvirtual |
Call this in OnTriggerEnter or OnTriggerStay to check if enter in triggerActions
other | collider trigger |
Reimplemented from Invector.vCharacterController.vCharacter.
|
virtual |
|
virtual |
Use another transform as reference to rotate
referenceTransform |
|
virtual |
|
protectedvirtual |
Reimplemented from Invector.vHealthController.
|
virtual |
|
protected |
|
virtual |
|
static |
bool Invector.vCharacterController.vThirdPersonController.useInstance = true |