188
rated 0 times
[
193]
[
5]
/ answers: 1 / hits: 102675
/ 12 Years ago, tue, january 8, 2013, 12:00:00
In three.js, I want to add a mesh to a position in the scene
I've tried:
// mesh is an instance of THREE.Mesh
// scene is an instance of THREE.Scene
scene.add(mesh)
scene.updateMatrixWorld(true)
mesh.matrixWorld.setPosition(new THREE.Vector3(100, 100, 100))
scene.updateMatrix()
BUT it didn't affect anything.
What should I do ?
More From » three.js