Rechecking for a collision
Cocos
SEPTEMBER 16, 2024
B grows and is now of size 2, and is still touching A - however, this won’t trigger a new collision event. I am aware I can just listen to the collision stay event, however that seems pretty inefficient as I only need to check again after the size changes… Is there any other, more efficient way to do that?
Let's personalize your content