C# Class SuperCollider, SuperCharacterController

Datei anzeigen Open project: IronWarrior/SuperCharacterController Class Usage Examples

Public Methods

Method Description
ClosestPointOnSurface ( BoxCollider collider, Vector3 to ) : Vector3
ClosestPointOnSurface ( CapsuleCollider collider, Vector3 to ) : Vector3
ClosestPointOnSurface ( SphereCollider collider, Vector3 to ) : Vector3
ClosestPointOnSurface ( TerrainCollider collider, Vector3 to, float radius, bool debug = false ) : Vector3
ClosestPointOnSurface ( Collider collider, Vector3 to, float radius, Vector3 &closestPointOnSurface ) : bool

Method Details

ClosestPointOnSurface() public static method

public static ClosestPointOnSurface ( BoxCollider collider, Vector3 to ) : Vector3
collider BoxCollider
to Vector3
return Vector3

ClosestPointOnSurface() public static method

public static ClosestPointOnSurface ( CapsuleCollider collider, Vector3 to ) : Vector3
collider UnityEngine.CapsuleCollider
to Vector3
return Vector3

ClosestPointOnSurface() public static method

public static ClosestPointOnSurface ( SphereCollider collider, Vector3 to ) : Vector3
collider UnityEngine.SphereCollider
to Vector3
return Vector3

ClosestPointOnSurface() public static method

public static ClosestPointOnSurface ( TerrainCollider collider, Vector3 to, float radius, bool debug = false ) : Vector3
collider UnityEngine.TerrainCollider
to Vector3
radius float
debug bool
return Vector3

ClosestPointOnSurface() public static method

public static ClosestPointOnSurface ( Collider collider, Vector3 to, float radius, Vector3 &closestPointOnSurface ) : bool
collider Collider
to Vector3
radius float
closestPointOnSurface Vector3
return bool