I'm trying to be able to get the angle/rotation/position of the camera and set it. I looked through some of the api, and I think i might be misusing the functions. here's an example of what I'm doing:
camera = smgr->addCameraSceneNodeMaya();
vector3df bleh;
bleh.X = 0;
bleh.Y = 0;
bleh.Z = 0;
camera->setRotation(bleh) ;
camera->setPosition(bleh) ;
when I run the program, it doesnt seem to do anything, no matter where I move the code around to. I can still rotate, zoom, translate, etc... What am I doing wrong?
camera manipulation
In Irrlicht 0.9 the maya cams setPosition and setTarget should work properly since Niko included my fixes for that:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5969
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5969
It is like it is. And because it is like it is, things are like they are.
-
- Posts: 61
- Joined: Sun May 08, 2005 11:30 am
jox wrote:In Irrlicht 0.9 the maya cams setPosition and setTarget should work properly since Niko included my fixes for that:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5969
If it's working properly, how do I make it work? Should I do what esmanical said? thanks for helping