I have model in vertical position.
I need to rotate model turn about axis, when mouse move left or right. (by left right axis)
- get camera
- create quaternion.
Quaternion localRotation = new Quaternion(-0.173f, camRotationY, -0.002364515f, 0.9830f);
Work if i move mouse horizontal.
Not work if i move mose by X Z
How to rotate model only by mouse Y axis