Property | Type | Description | |
---|---|---|---|
Walkable | LayerMask |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
ClampToGround ( ) : void | ||
ClearIgnoredColliders ( ) : void | ||
DisableClamping ( ) : void | ||
DisableSlopeLimit ( ) : void | ||
EnableClamping ( ) : void | ||
EnableSlopeLimit ( ) : void | ||
IgnoreCollider ( Collider col ) : void | ||
IsClamping ( ) : bool | ||
ManualUpdate ( float deltaTime ) : void | ||
OnDrawGizmos ( ) : void | ||
PointAboveFeet ( Vector3 point ) : bool | ||
PointBelowHead ( Vector3 point ) : bool | ||
ProbeGround ( int iter ) : void | ||
RecursivePushback ( int depth, int maxDepth ) : void |
Check if any of the CollisionSpheres are colliding with any walkable objects in the world. If they are, apply a proper pushback and retrieve the collision data
|
|
RemoveIgnoredCollider ( Collider col ) : void | ||
SingleUpdate ( ) : void | ||
SpherePosition ( CollisionSphere, sphere ) : Vector3 | ||
Update ( ) : void |
Method | Description | |
---|---|---|
PopIgnoredColliders ( ) : void | ||
PushIgnoredColliders ( ) : void | ||
SlopeLimit ( ) : bool |
Prevents the player from walking up slopes of a larger angle than the object's SlopeLimit.
|
public IgnoreCollider ( Collider col ) : void | ||
col | Collider | |
return | void |
public ManualUpdate ( float deltaTime ) : void | ||
deltaTime | float | |
return | void |
public PointAboveFeet ( Vector3 point ) : bool | ||
point | Vector3 | |
return | bool |
public PointBelowHead ( Vector3 point ) : bool | ||
point | Vector3 | |
return | bool |
public RecursivePushback ( int depth, int maxDepth ) : void | ||
depth | int | |
maxDepth | int | |
return | void |
public RemoveIgnoredCollider ( Collider col ) : void | ||
col | Collider | |
return | void |
public SpherePosition ( CollisionSphere, sphere ) : Vector3 | ||
sphere | CollisionSphere, | |
return | Vector3 |