Just did an update from r67 - r69 in ThreeJS and ends up having problems referring their positions to one (same) vector.
Before I did this which worked:
var vector = new THREE.Vector3(50, 50, 50); _Mesh1.position = vector; _Mesh2.position = vector;
which made it possible that when I moved one of the meshes it moved the other one as well.
In r69 the position vector remains the same (aka 0, 0, 0) which means that I have to manually set the X, Y and Z coords for each mesh whenever I mode another one.
Am I missing some change here? Or what should I do to fix this?
scale properties are now immutable.
See the source code file
You can no longer use the following pattern:
object.position = vector;
Instead, you must use either
object.position.set( x, y, z );
object.position.copy( vector );
©2020 All rights reserved.