Property | Type | Description | |
---|---|---|---|
OnTriggerEnter | Action |
||
OnTriggerLeave | Action |
Method | Description | |
---|---|---|
CheckCollision ( |
Checks collision to another object.
|
|
Clone ( ) : |
Creates a clone of another collider.
|
|
Collider ( Vector3 size, Vector3 centerOffset = null, bool isTrigger = false ) : System |
Creates a bounding box collider.
|
|
HandleTrigger ( |
||
HandleUntouched ( ) : void | ||
Intersects ( |
||
Move ( Vector3 offset ) : void |
Moves Collider.
|
|
SetPosition ( Vector3 position ) : void |
Sets position of Collider.
|
Method | Description | |
---|---|---|
Collider ( ) : System | ||
UpdateBoundings ( ) : void |
public CheckCollision ( |
||
other | ||
return |
public Collider ( Vector3 size, Vector3 centerOffset = null, bool isTrigger = false ) : System | ||
size | Vector3 | size of Bounding Box |
centerOffset | Vector3 | Offset from center of object |
isTrigger | bool | |
return | System |
public HandleTrigger ( |
||
other | ||
return | void |
public SetPosition ( Vector3 position ) : void | ||
position | Vector3 | |
return | void |