hello noob here
i have a position (var position) I want to around an arbitrary axis (var axis) and after that I get the position and I used for something else
I have this code :
var rotationMatrix = new THREE.Matrix4();
var position = new THREE.Vector3(43,9,0);
var angle=Math.PI;
var axis = new THREE.Vector3(0,0,0);
axis.normalize();
rotationMatrix.makeRotationAxis( axis, angle );
position.applyMatrix4(rotationMatrix)
console.log(position);
object.position.x = position.x;
object.position.y = position.y;
object.position.z = position.z;
only the angle PI work fo the other i receive weird values for my position-Vector