If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
ikk
Posts: 8 Joined: Sat Jun 03, 2006 6:13 pm
Contact:
Post
by ikk » Sat Jun 03, 2006 6:52 pm
Hello,
I can set camera position or camera target but when I set them both, like this:
Code: Select all
lpCamera->setPosition( vPos );
lpCamera->setTarget( vLookAt );
it doesnt work and camera target is totally difrent.
what can be wrong?
ikk
Posts: 8 Joined: Sat Jun 03, 2006 6:13 pm
Contact:
Post
by ikk » Sun Jun 04, 2006 9:40 am
i solved it partially,
it works when i create camera with:
ISceneManager::addCameraSceneNode
and dont when with:
ISceneManager::addCameraSceneNodeFPS
why...?