-
Notifications
You must be signed in to change notification settings - Fork 1
Collider bindings
SDraw edited this page Jun 14, 2023
·
4 revisions
Refer to Unity's Collider documentation for properties and methods description.
-
attachedRigidbody
: get, Rigidbody -
bounds
: get, Bounds -
contactOffset
: get/set, float -
enabled
: get/set, boolean -
isTrigger
: get/set, boolean
Vector3 ClosestPoint(Vector3 position)
Vector3 ClosestPointOnBounds(Vector3 position)
bool Raycast(Ray ray)
-
bool IsCollider(object obj)
: checks if object is type ofCollider
.
- Inherits properties and methods from Component.