Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
Make the object into a Kinematic Rigidbody Trigger Collider, which is entirely moved by code but can cause onTriggerEnter and onTriggerExit events with every other collider type.
Parameters:
- tag (optional)
- An optional tag to force the collider to use
Example:
1 | obj.makeSimpleDetector() |