[suggestion] add a rotateOnWorldAxis helper

I keep seeing global-rotation related problems and questions pop up, which makes sense, as three’s “simple” rotation methods are local and grokking the quaternion math involved in conversions is nontrivial, especially for beginners.

Would the maintainers ( @mrdoob / @WestLangley / whoever’s making feature decisions) be open to a helper method that simplifies rotating in world axis? To conform with the existing (local) rotateOnAxis, The API could be something like:

Object3D.rotateOnWorldAxis([Vector3], [radians])

and the implementation similar to the solution I provided here.

I think this would really benefit the community – I know I, for one, scratch my head every time I have to reimplement world rotation…

Author: Fantashit

1 thought on “[suggestion] add a rotateOnWorldAxis helper

Comments are closed.