Creator 3.8 - Collider2D can't get collision direction on BEGIN_CONTACT?
Cocos
FEBRUARY 23, 2025
Hi, Im using Creator 3.8.5 & handling 2d collision - to get direction of 2 objects when they collide My physics engine is 'Box2D based 2D physics system" I followed this article docs.cocos.com 2D Contact Callback | Cocos Creator Cocos Creator Docs and my code goes here ballColliderComp.on(Contact2DType.BEGIN_CONTACT,
Let's personalize your content