Camera Up Vector

Problems building or running the engine, queries about how to use features etc.
Post Reply
mcmonkey
Gnoblar
Posts: 19
Joined: Fri Jan 09, 2015 6:12 am

Camera Up Vector

Post by mcmonkey »

So the camera class has ::getUp() ( .Up, getter only in MOGRE).

How would I go about inversing that, ::setUp(Vector3...) ?

I assume it requires some amount of Quaternion math to accomplish, a subject I'm not too knowledgeable in.
formula123
Gnoblar
Posts: 7
Joined: Thu Aug 14, 2014 6:23 am

Re: Camera Up Vector

Post by formula123 »

There is no setUp operation for Camera in ogre, you can use setFixedYawAxis operation instead.
Post Reply