A lot of methods have been tried, not really 180 degrees
Do you want to achieve this? https://jsfiddle.net/f9thn7jL/
Keep in mind that the axis vector needs to have unit length. So your code:
meshgroupss.rotateOnAxis(new THREE.Vector3(1,1.2,0),180* Math.PI / 180)
does not work. You have to call .normalize()
on the first argument.
Also the computation for the second argument makes no sense. Just use Math.PI
.