Keep track of a shapes' direction after rotating


One more rotation question:

I know that I can get the orientation of a shape with getLocalRotation(), which gives me a Quaternion. However, I would like to have the direction, to which the shape is pointing at, as a Vector3f.


  • The inital direction of e.g. a tube is <0,1,0>
  • I apply some rotation via tube.setLocalRotation(some quaternion)
  • What is the direction now?

    Hope someone can help me…

see here:;topicseen