[0]onTriggerEnter判断和输出的other.name不正确


111.png


222.png

角色身上的onTriggerEnter 碰到球。  输出的other.name为 undefined.
 
球身上的onTriggerEnter 碰到地面trigger 输出other.name为 down ,这个没有问题。但是球碰到人物。 也是输出 down。 这就有问题了
已邀请:

时光123

赞同来自:

版本 LayaAir 2.13.0
 
已经解决了,要用other.owner.name.  而不是other.name

Laya_Fred

赞同来自:

您好,麻烦您提供一份可以复现问题的示例吧,这样方便定位到问题。

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作