Collision Settings
Simulating Cocos Creator collision logic using Matter.js physics. Adjust parameters to see how Object B reacts when hit by Object A.
Logic Explanation
In Cocos Creator, this logic is usually handled in the onCollisionBegin callback. We apply an impulse or force vector to the target body based on the collision normal.