Class PlayerController
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class PlayerController : MonoBehaviour
- Inheritance
-
PlayerController
- Inherited Members
-
- Extension Methods
-
Constructors
PlayerController()
public PlayerController()
Fields
alwaysGroundRaycast
public bool alwaysGroundRaycast
Field Value
- bool
bodyRotationTorque
public float bodyRotationTorque
Field Value
- float
canSprintInAnyDirection
public bool canSprintInAnyDirection
Field Value
- bool
constantGravity
public float constantGravity
Field Value
- float
gravity
Field Value
- float
groundRaycast
public bool groundRaycast
Field Value
- bool
jumpForceDuration
public float jumpForceDuration
Field Value
- float
jumpForceOverTime
public float jumpForceOverTime
Field Value
- float
jumpForceTime
public float jumpForceTime
Field Value
- float
jumpImpulse
Field Value
- float
maxStamina
Field Value
- float
movementForce
public float movementForce
Field Value
- float
player
Field Value
- Player
ragdoll
public PlayerRagdoll ragdoll
Field Value
- PlayerRagdoll
sprintMultiplier
public float sprintMultiplier
Field Value
- float
staminaReActivationThreshold
public float staminaReActivationThreshold
Field Value
- float
staminaRegRate
public float staminaRegRate
Field Value
- float
standForce
Field Value
- float
standForcePerGroundCol
public float standForcePerGroundCol
Field Value
- float
wallClimb
Field Value
- bool
wallClimbGravityAdjustSpeed
public float wallClimbGravityAdjustSpeed
Field Value
- float
Methods
ApplyJumpForce()
public void ApplyJumpForce()
BodyRotation()
public void BodyRotation()
ConstantGravity()
public void ConstantGravity()
FixedUpdate()
public void FixedUpdate()
Gravity()
Look()
Movement()
MovementStateChanges()
public void MovementStateChanges()
RPCA_Jump()
[PunRPC]
public void RPCA_Jump()
SetRotations()
public void SetRotations()
SimpleMovement()
public void SimpleMovement()
Standing()
Start()
TryJump()
Update()