Method | Description | |
---|---|---|
IsPointAtColliderEdge ( |
Checks if point is at most tolerance away from the collider edge.
|
|
IsPointInsideCollider ( |
Checks whether the point is inside a collider. This method can check against all types of colliders, including |
|
IsPointInsideMeshCollider ( |
Checks whether the point is inside a MeshCollider.
|
public static IsPointAtColliderEdge ( |
||
collider | /// The collider to check against. /// | |
point | /// Point being checked. /// | |
tolerance | float | /// Maximal distance /// |
return | bool |
public static IsPointInsideCollider ( |
||
collider | /// The collider to check against. /// | |
point | /// The point being checked. /// | |
specificTest | ColliderSpecificTestEnum |
/// Defines a kind of specific collision test that must be done against |
return | bool |
public static IsPointInsideMeshCollider ( |
||
collider | /// Collider to check against. /// | |
point | /// Point being checked. /// | |
return | bool |