Ling Zhan
Ling Zhan
获取的应该是碰撞点的世界坐标系,可以通过节点的变换矩阵将其变换到节点的局部坐标系
这是physx原生实现时物理世界和场景的同步的bug,将在近期修复。 This is due to the native physx implementation called inappropriate scene node transform update flag. Will be fixed soon.
测试了3.6.2的原生实现, 已经没有这个bug了(windows平台)。应该是非物理模块的原生场景同步相关的bug已经修复了。 This is fixed in Cocos Creator 3.6.2.
BoxCollider2D 包围盒在编辑器上没有跟随 animation 播放进行绘制,加了 position 那些 transform 属性后才会跟着变化,或者通过鼠标拖拽触发 update 才会重绘