niomlu.blogg.se

Unity character controller source code
Unity character controller source code




unity character controller source code

Public class OpenCharacterController : MonoBehaviour

unity character controller source code

Handles the movement of a character, by using a capsule for movement and collision detection. OpenCharacterController Class ResizeInfo Class SetHeight Method SetCenter Method SetHeightAndCenter Method CancelHeight Method CancelCenter Method CancelHeightAndCenter Method ClearTimers Method StuckInfo Class OnMoveLoop Method UpdateStuck Method Awake Method LateUpdate Method Update Method OnValidate Method OnDrawGizmosSelected Method Move Method SetPosition Method ComputePenetration Method CheckCollisionBelow Method GetSkinWidth Method GetMinMoveSqrDistance Method SetHeightAndCenter Method ResetHeightAndCenter Method GetCenter Method SetCenter Method ResetCenter Method GetHeight Method ValidateHeight Method SetHeight Method ResetHeight Method GetCollisionLayerMask Method GetFootWorldPosition Method GetFootWorldPosition Method GetTopSphereWorldPosition Method GetBottomSphereWorldPosition Method InitCapsuleColliderAndRigidbody Method ValidateCapsule Method CalculateCenterWithSameFootPosition Method MoveInternal Method BroadcastCollisionEvent Method UpdateGrounded Method MoveLoop Method MoveMajorStep Method CanStepOffset Method CheckSteepSlopeAhead Method CheckSteepSlopAhead Method SplitMoveVector Method AddMoveVector Method IsMoveVectorAlmostZero Method CanStickToGround Method CapsuleCast Method SmallCapsuleCast Method BigCapsuleCast Method SmallSphereCast Method BigSphereCast Method MoveAwayFromObstacle Method Depenetrate Method GetPenetrationInfo Method CheckCapsule Method MovePosition Method UpdateCollisionInfo Method StopSlideDownSlopes Method UpdateSlideDownSlopes Method UpdateSlideDownSlopesInternal Method UpdatePendingHeightAndCenter Method SetRootToOffset Method






Unity character controller source code