#
luxiaotao1123
2021-12-28 eee29e7ad8086aec54a13b9e709b1bd474274f13
static/js/object/StoreConvey.js
@@ -39,15 +39,18 @@
                if (child instanceof THREE.Mesh) {
                    child.scale.set(1, 1, 1.6);
                    child.material = new THREE.MeshLambertMaterial({
                        color: 0x8B8378
                        color: 0x444444
                    });
                    if (child.name === "Box034" || child.name === "Box035") {
                        child.material = new THREE.MeshLambertMaterial({
                            color: 0x000000
                        });
                    }
                    child.castShadow = true;
                    child.receiveShadow = true;
                }
            });
            chainList.map(item => {
                that.object.addObject(customize(obj.clone(), item));
            })
@@ -57,8 +60,10 @@
                if (child instanceof THREE.Mesh) {
                    child.scale.set(0.5, 1, 1);
                    child.material = new THREE.MeshLambertMaterial({
                        color: 0x8B8378
                        color: 0x444444
                    });
                    child.castShadow = true;
                    child.receiveShadow = true;
                }
            });
            rollerList.map(item => {
@@ -70,7 +75,7 @@
                if (child instanceof THREE.Mesh) {
                    child.scale.set(1, 1, 1);
                    child.material = new THREE.MeshLambertMaterial({
                        color: 0x8B8378
                        color: 0x444444
                    });
                }
            });