手动拖拽生成的实例化,没有穿模现象,代码生成的就有穿模问题,是代码问题吗
@property(Prefab)
private cubePrefab: Prefab = null as unknown as Prefab;
start() {
var cube :Node = instantiate(this.cubePrefab)
this.node.addChild(cube)
}
抱歉,这么久才回复。。 
原因是目前不支持碰撞体的父节点缩放。
1赞