LayaAir icon indicating copy to clipboard operation
LayaAir copied to clipboard

box2d物理碰撞onTriggerEnter获取碰撞位置百分百异常

Open ctemple opened this issue 1 year ago • 0 comments

box2d, box2d wasm都会出现

public onTriggerEnter(other: Laya.PhysicsColliderComponent | Laya.ColliderBase, self?: Laya.ColliderBase, contact?: any): void { contact.getHitInfo(); }

错误信息: Uncaught TypeError: Cannot read properties of undefined (reading 'b2WorldManifold')

LayaAir 3.1.0-beta.2

ctemple avatar Jan 06 '24 05:01 ctemple