Notifications
Clear all
[Closed] [help] euler rotation
Dec 06, 2005 3:12 pm
I would like to rotate several vertex on an object…
I known the euler angles.
Example x:10 y:20 z:30
Because I want to rotate vertices and not the whole object I would like to find a quat or a matrix to do the same rotation.
b1=box length:50.0 width:75.0 height:100.0 xray:true
b2=box length:50.0 width:75.0 height:100.0 xray:true
ea=eulerAngles 10.0 20.0 30.0
rotate b1 ea
q=eulerToQuat ea
rotate b2 q
In this example The function eulerToQuat does not give me the right answer.
The rotations are different.
I’ll be thankful for any answer.
1 Reply