您好小姐姐,我看了快上车的项目,3.0版本
onLoad() {
//游戏开始初始化位置
this.mapManager.resetMap();
this.carManager.reset(this.mapManager.currPath);
const collider = this.group.getComponent(BoxCollider);
collider.setGroup(Constants.CarGroup.NORMAL);
collider.setMask(-1);
}
设置地面这样,有吧节点放入到场景,也报Please make sure that the node has been added to the scene
这个错误,碰撞后车依旧会掉下去怎么回事,放到start里面执行也报错