This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
physicscallbacks [2021/02/22 17:23] 73.95.178.156 |
physicscallbacks [2021/04/28 01:37] (current) 73.95.178.156 |
||
---|---|---|---|
Line 10: | Line 10: | ||
* 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. | ||
+ | |||
+ | ===== OnCollisionEnter ===== | ||
+ | * The OnCollisionEnter callback event must be attached to the GameObject with the Rigidbody you want to listen to. ((ie. this event will not fire if it is attached to a child collider)) | ||
===== OnCollisionExit ===== | ===== OnCollisionExit ===== |