Collider

More information can be found in the Unity API Reference and maybe in the Unity Manual.

Constructors

Constructor

Description

Collider()

Details

class Collider
Collider Collider()
const Rigidbody attachedRigidbody
const Bounds bounds
float contactOffset
bool enabled
const GameObject gameObject
bool isTrigger
string name
string tag
const Transform transform
Vector3 ClosestPoint(Vector3 position)
Vector3 ClosestPointOnBounds(Vector3 position)
bool CompareTag(string tag)
int GetHashCode()
bool Raycast(Ray ray, RaycastHit hitInfo, float maxDistance)
string ToString()