This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
physicscallbacks [2021/02/22 16:33] 73.95.178.156 |
physicscallbacks [2021/02/22 17:23] 73.95.178.156 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Physics Callbacks ====== | ====== 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 ' | ||
+ | |||
===== OnTriggerExit ===== | ===== OnTriggerExit ===== | ||
* Is not called when a Rigidbody which is part of the collision is destroyed. | * Is not called when a Rigidbody which is part of the collision is destroyed. | ||
- | * Is not called if the Rigidbody/ | + | * Is not called if the Rigidbody/ |
* Is not called if the trigger is disabled. | * Is not called if the trigger is disabled. | ||