I want to get the Rotation value of the node in the process of Animation.

I wrote it using a translator, so the sentences may be awkward. Please 
understand.
Animation I want to get the Rotation value of the node in progress. I tried 
to know the direction with the property localRotation of the node, but the 
property is 0,0,0, so I could not know the normal direction value 
Similarly, MapPosition was also set to 0 for x, y, and z.

So I used node->GetBound().center() * node->GetWordMatricex()[0] to get the 
position value.
The direction was returned as a Quat property using 
node->GetWordMatricex()[0] .GetRotate().
However, since the property value of Quat is a decimal point, I do not know 
how to convert this value to a general 0-360 degree direction, so I cannot 
use it.
  How do I get the direction value of a node that is being animated?

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/d19ecc58-264b-4902-8187-ae308b3ea1bcn%40googlegroups.com.

Reply via email to