I'm making a 3D environment, and I want to make it so that when you pass the crosshair over an object, some text with its description pops up. But I have this really annoying string format thing in the way.
info.setText(CollMan->getSceneNodeFromScreenCoordinatesBB(blah)->getName());
info being the text object, and getSceneNodeblahblah->getName being the description that I want.
This doesnt work, because setText wants a wchar_t* and getName() provides an irr::c8. .c_str() doesn't seem to help whatsoever.
How can I get these two to play nice?