Hello,
Is there any easy way of just moving the camera back. EG reversing the camera backwards at the same angle it is currently positioned.
Many thanks
Grant
Camera move back
-
- Posts: 32
- Joined: Sun Jul 15, 2007 1:02 pm
- Location: California
I don't quite understand your question (because my brain is a couch potato right now), but if you mean to reverse where the camera looks:
I think that'll work...
But if you don't mean that, and you mean to move the camera back:
Again, I don't quite understand your question... and I'm still a beginner .
Code: Select all
camera->setRotation(vector3df(0.0f, 180.0f, 0.0f));
But if you don't mean that, and you mean to move the camera back:
Code: Select all
camera->setPosition(camera->getPosition() + vector3df(0.0f, 0.0f, -1.0f));
Again, I don't quite understand your question... and I'm still a beginner .
"Be not ashamed of mistakes and thus make them crimes."
-Confucius
-Confucius
-
- Posts: 25
- Joined: Fri Jul 27, 2007 10:02 am