I created a stick using the Three js editor, and after loading it with the code below, I was able to position it but not rotate it. The stick is composed of 4 meshes, so I assume I need to set up a rotation point, but I'm unsure how to do that.
My desired setup looks like this:
x -------
The 'x' represents where I want the stick to rotate around.
Can anyone offer assistance?
Thank you in advance!
var loader = new THREE.ObjectLoader();
loader.load("scene.json", function ( obj )
{
stick =obj;
scene.add( stick );
stick.position.z = -9;
stick.position.y = .4;
stick.children[3].rotation.x(45);
});