C# Class CustomController, SuperCharacterController

Inheritance: MonoBehaviour
Afficher le fichier Open project: IronWarrior/SuperCharacterController Class Usage Examples

Méthodes publiques

Свойство Type Description
debugSpheres bool
myCollider UnityEngine.CapsuleCollider
recursivePushBack int
slopeLimit float

Méthodes publiques

Méthode Description
Awake ( ) : void
ClampToGround ( ) : void
CollideWithWorld ( ) : void
DisableClamping ( ) : void
DisableSlopeLimit ( ) : void
EnableClamping ( ) : void
EnableSlopeLimit ( ) : void
IsGrounded ( float distance ) : bool
OnDrawGizmos ( ) : void
ProbeGround ( ) : void

Private Methods

Méthode Description
OnSteadyGround ( Vector3 normal, Vector3 point ) : bool
PushBack ( ) : bool
ResetGround ( ) : void
SetCollisionParameters ( ) : void
SimulateSphereCast ( RaycastHit hit, float smallerRadius, Vector3 origin, float radius ) : RaycastHit
SlopeLimit ( ) : bool
SpherePosition ( CollisionSphere, sphere ) : Vector3

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

ClampToGround() public méthode

public ClampToGround ( ) : void
Résultat void

CollideWithWorld() public méthode

public CollideWithWorld ( ) : void
Résultat void

DisableClamping() public méthode

public DisableClamping ( ) : void
Résultat void

DisableSlopeLimit() public méthode

public DisableSlopeLimit ( ) : void
Résultat void

EnableClamping() public méthode

public EnableClamping ( ) : void
Résultat void

EnableSlopeLimit() public méthode

public EnableSlopeLimit ( ) : void
Résultat void

IsGrounded() public méthode

public IsGrounded ( float distance ) : bool
distance float
Résultat bool

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

ProbeGround() public méthode

public ProbeGround ( ) : void
Résultat void

Property Details

debugSpheres public_oe property

public bool debugSpheres
Résultat bool

myCollider public_oe property

public CapsuleCollider,UnityEngine myCollider
Résultat UnityEngine.CapsuleCollider

recursivePushBack public_oe property

public int recursivePushBack
Résultat int

slopeLimit public_oe property

public float slopeLimit
Résultat float