Search found 2 matches

by jsyzljj
Mon Dec 12, 2016 8:30 am
Forum: Advanced Help
Topic: Best way to rotate a ITextSceneNode
Replies: 6
Views: 2352

Re:The text looks not clear on the screen.

This should help ya. Edit: this code works like you want it. But when using it with other render Targets. like my deferred renderer the text is flipped upside down. dunno why. example usage:   CTextNode* text = new CTextNode(gui, smgr->getRootSceneNode(), smgr);     text->setText("Hello my fri...
by jsyzljj
Mon Dec 12, 2016 2:04 am
Forum: Beginners Help
Topic: Set position of the camera incorrectly
Replies: 1
Views: 353

Set position of the camera incorrectly

Hi all I add a FPS camera and a cube scene node in my project. In order to let the camera not go through the cube node, I tried to add a collision detection to the camera node. When I used function setPosition() to set the position of the camera, the camera node might not be set correctly at the pos...