Hi,
I’m trying to update the geometry that several objects share.
geo = new PlaneGeometry();
mesh = new Mesh(geo, new ColorMaterial(0x0ff0f0));
mesh2 = new Mesh(geo, new ColorMaterial(0xffff00));
mesh2.x = 200;
mesh2.z = 200;
scene.addChild(mesh);
scene.addChild(mesh2);
geo.width = 400;
this will show two planes with 400 as width
But if I remove the line
geo.width = 400
and add it to some onClick eventHandler, the planes remain square even though the code is executed and tracing geo.width shows 400…
Do I need to call anything to make the objects update their geometry or something?