camera rotation

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
masfworld
Posts: 9
Joined: Thu Sep 30, 2004 10:29 pm

camera rotation

Post by masfworld »

i don't know rotate the camera. i'd like rotate the camera as a airplane,that is, in the three coordenate
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Code: Select all

camera->setRotation(core::vector3df(0,270,0));
x,y,z axis.

this question should go in the beginners section
Image
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

afecelis>> that won't function.

masfworld>> you have to work with upvector of camera.
look at the bottom of this post:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2892
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

:oops: :oops: :oops:
then I didn't understand his question

sorry m8!
Image
Post Reply