0
我已经得到了一个对象:JavaScript three.js 3d引擎:如何让对象大20%?
planeWall=new THREE.Mesh(new THREE.PlaneGeometry(10,5,1,1), material);
然后,我希望把它做大,比如,20%
所以我尝试:
planeWall.geometry=new THREE.PlaneGeometry(12,6,1,1);
但失败了,调试器说:
TypeError: Cannot read property 'radius' of null
有没有人有这方面的经验?