Can anyone tell me how I can limit the rotation of a model to
a specific angle without using camera rotation?
I do know how to limit the rotation when the model has only
been rotated in one axis (simple maths comparison of either x, y,
or z depending on which axis I've rotated the model about).
But, how do you limit rotation when the model has already
been rotated about 1 or 2 of the other axes given that x, y, and z
keep changing their values and axisAngle doesn't always give
Using parent/childs is one way to work around relative
rotation problems. Parent the model you are trying to limit
rotation on to a dummy model (or group). Keep the dummy at
rotation(0, 0, 0), and rotate the target model to its correct
orientation in your scene. Then monitor the dummy's rotation to
keep it within your limits.