Rotating Movable Text
Posted: Wed Apr 02, 2014 5:43 am
I need to rotate MovableText 90 degrees. I've attempted to do this by rotating the sceneNode and then attaching the text. The text remains horizontal. Is there an easy way around this?
Code: Select all
MovableText* myMovableText = new MovableText("xAxisPlotPoint", "test", "cowTitle", 0.5, ColourValue::White);
SceneNode *myMovableTextNode = myNode->createChildSceneNode(Vector3(1, 1,1);
myMovableTextNode->roll(Ogre::Degree(90));
myMovableTextNode>attachObject(myMovableText);