Thank you for clarifying!
Looks like it works now!
Thanks again.
Search found 10 matches
- Wed Dec 27, 2006 4:31 am
- Forum: Project Announcements
- Topic: IrrExtensions >> not for V1.3 !!!
- Replies: 153
- Views: 19931
- Wed Dec 27, 2006 12:54 am
- Forum: Project Announcements
- Topic: IrrExtensions >> not for V1.3 !!!
- Replies: 153
- Views: 19931
- Mon Dec 18, 2006 1:17 am
- Forum: Project Announcements
- Topic: IrrExtensions >> not for V1.3 !!!
- Replies: 153
- Views: 19931
- Mon Aug 07, 2006 11:54 pm
- Forum: Beginners Help
- Topic: Rotate Camera
- Replies: 12
- Views: 1136
camera = smgr->addCameraSceneNode(); I believe you can only rotate that camera using the setTarget() function. How would you know if setTarget(vector3df(0,0,0)) is working or not? I thought that was the default heading of a camera???, try setTarget(vector3df(100,500,-250)); I was told setRotation()...
- Thu May 11, 2006 3:41 am
- Forum: Beginners Help
- Topic: Rotate ICameraSceneNode with setRotation()?
- Replies: 7
- Views: 976
Thanks stef_, Although, I haven't got your code working yet... As far as I 'knew' smgr->addCameraSceneNodeFPS() will still create a camera that 'looks at' the target. So an FPS camera with input disabled would be the same as a non-FPS camera? ... and setRotation won't work... am I mistaken?, you cla...
- Wed May 10, 2006 4:25 am
- Forum: Beginners Help
- Topic: Low FPS animation problem
- Replies: 4
- Views: 378
- Tue May 09, 2006 8:22 am
- Forum: Beginners Help
- Topic: Rotate ICameraSceneNode with setRotation()?
- Replies: 7
- Views: 976
Thanks LM, I have re-learnt some trigonometry, tried a few things, I think this works for left-right rotation, still not very smooth but I think that is due to another area of my code. vector3df target; target.Z=cos(node->getRotation().X/(180/3.1416))*10; target.X=sin(node->getRotation().X/(180/3.14...
- Sat May 06, 2006 4:49 am
- Forum: Beginners Help
- Topic: Moving the camera through a node..
- Replies: 12
- Views: 730
- Sat May 06, 2006 1:59 am
- Forum: Beginners Help
- Topic: Rotate ICameraSceneNode with setRotation()?
- Replies: 7
- Views: 976
Ok, I dont know much trig w/ cos and sin but this is what I came up with... ICameraSceneNode* node = (ICameraSceneNode*) NewtonBodyGetUserData(body); if(node) { node->setPosition(mat.getTranslation()); // set position node->setRotation(mat.getRotationDegrees()); // and rotation vector3df target; tar...
- Fri May 05, 2006 10:51 am
- Forum: Beginners Help
- Topic: Rotate ICameraSceneNode with setRotation()?
- Replies: 7
- Views: 976
Rotate ICameraSceneNode with setRotation()?
Hi Guys, Is there anyway I can rotate my ICameraSceneNode (not fps) using setRotation() ?? Currently it doesn't work because it always points to the "target" which doesn't seem to move with setRotation(). I have looked through the APIs but cant find anything to help. I think I need to tell...