i have problem OnTriggerStay2D, it don't call Frequently and i don't know why , someone help me????

i have 2 cell object like pic 1. i attact FallScript like pic 2. when it colision i see log like below:

_allowFall: True
OnTriggerEnter2D
_allowFall: True
OnTriggerStay2D
_allowFall: False
OnTriggerStay2D
_allowFall: False
OnTriggerStay2D
_allowFall: False
OnTriggerStay2D
_allowFall: False
OnTriggerStay2D
_allowFall: False
then …
_allowFall: False
_allowFall: False
_allowFall: False
_allowFall: False
_allowFall: False
_allowFall: False
_allowFall: False

I don’tt know OnTriggerStay2D don’t call more. can Someone help me???


Maybe the Rigidbody2D goes to sleep.
Try other sleeping modes.

Or why do you need to have OnTriggerStay2D() called more times?

thx you , i want to test some function in unity . i change spleeping modes to never sleep and it call frequently. thx you so much