We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've got an object by:
planeWall = new THREE.Mesh(new THREE.PlaneGeometry(10,5,1,1), material);
Then I want to make it bigger, say, 20% so I tried:
planeWall.geometry = new THREE.PlaneGeometry(12,6,1,1);
but failed,debugger says:
TypeError: Cannot read property 'radius' of null
Is there anyone has some experience for this?
The text was updated successfully, but these errors were encountered:
planeWall.scale.set(12,6,1);
Sorry, something went wrong.
thanks,got it, but it should be plane.scale.set(1.2,1.2,1), right?
plane.scale.set(1.2,1.2,1)
@JacobBovatsek's solution would imply having new THREE.PlaneGeometry(1,1,1,1).
new THREE.PlaneGeometry(1,1,1,1)
why not work ? planeWall.scale.set(-5,-5,-5);
@tmdeft three.js does not support negative scale factors. See http://stackoverflow.com/search?q=%5Bthree.js%5D+support+negative+scale
No branches or pull requests
I've got an object by:
Then I want to make it bigger, say, 20%
so I tried:
but failed,debugger says:
Is there anyone has some experience for this?
The text was updated successfully, but these errors were encountered: