physicscallbacks
This is an old revision of the document!
Table of Contents
Physics Callbacks
OnTriggerEnter
- Will be called for all collisions for all trigger colliders on this Rigidbody.
- There is no way to get a reference to 'this' trigger collider that was entered.1)
OnTriggerExit
- Is not called when a Rigidbody which is part of the collision is destroyed.
- Is not called if the Rigidbody/Collider is recreated internally2).[research needed]
- Is not called if the trigger is disabled.
OnCollisionExit
- Is not called when a Rigidbody which is part of the collision is destroyed.
- Is not called if the Rigidbody/Collider is recreated internally (due to modifications). [research needed]
physicscallbacks.1614014587.txt.gz · Last modified: 2025/01/15 04:35 (external edit)