I must make a cursor for my fps. I've used this function to set the image for cursor:
Code: Select all
ITexture* mirino = driver->getTexture("mirino.bmp");
driver->makeColorKeyTexture(mirino, position2d<s32>(0,0));
Code: Select all
position2d<s32> mouse = device->getCursorControl()->getPosition();
driver->draw2DImage(mirino, position2d<s32>(mouse.X,mouse.Y), rect<s32>(0,0,25,25));
I use the first person shooter camera ( smgr->addCameraSceneNodeFPS(); )
Thx