- Home /
Question by
robert170 · Mar 07, 2014 at 05:21 AM ·
2dcollisionupdatecollisiondetection
OnCollisionEnter2D Questions
Will "OnCollisionEnter2D" get called more than one time in a single frame for the same object? For example, if i have a 2D rectangle that suddenly collides with 4 objects, does the rectangle's "OnCollisionEnter2D" get called 4 times? Also, what is the sequence of the functions being called inside each class? Does "update" or "OnCollisionEnter2D" get called first? If "OnCollisionEnter2D" can be called multiple times, then does "OnCollisionEnter2D" get called 4 times before entering the "update" function or is it the other way around?
Comment