[LayaAir3]3.0.9物理引擎获取碰撞点报错
protected onTriggerEnter(other: Laya.ColliderBase, self: Laya.ColliderBase, contact:any) {
console.log(contact.getHitInfo())
}
报错信息:
ModuleDef.ts:41 Uncaught TypeError: Cannot read properties of undefined (reading 'b2WorldManifold')
at contact.getHitInfo (ModuleDef.ts:41:28)
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
dsk4120
赞同来自: