onCollideEnd(t1: Tag, t2: Tag, action: (a: GameObj, b: GameObj, col?: Collision)=>void): KEventController
Register an event that runs once frame when 2 game objs with certain tags stops colliding (required to have area() component).
paramt1- The tag of the first game obj.
paramt2- The tag of the second game obj.
paramaction- The function to run when the event is triggered.
onCollideEnd("bean", "earth", () => {
debug.log("destroying world in 3... 2... 1...")
});
returnsThe event controller.
sincev3000.0
groupPhysics