Rotating Movable Text

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
Shani
Gnoblar
Posts: 3
Joined: Wed Apr 02, 2014 5:33 am

Rotating Movable Text

Post by Shani »

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);
Post Reply