FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rotating the Camera Around the Y-Axis

2 posters

Go down

Rotating the Camera Around the Y-Axis Empty Rotating the Camera Around the Y-Axis

Post  uprise78 Thu Sep 03, 2009 12:28 am

Is there any way to rotate the camera about the y-axes? I have tried _SIO2camera->_SIO2transform->rot->y then rebound the matrix with no luck. It also seems as though the Blender exporter doesn't change when the camera's Y rotation is modified. What I am trying to do is when the iPhone tilts left or right I want to rotate the view in the opposite direction so the horizon always stays level.

uprise78

Posts : 228
Join date : 2008-10-31

Back to top Go down

Rotating the Camera Around the Y-Axis Empty Re: Rotating the Camera Around the Y-Axis

Post  sio2interactive Thu Sep 03, 2009 2:51 am

Use sio2LookAt instead and specify your own up vector...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Rotating the Camera Around the Y-Axis Empty Re: Rotating the Camera Around the Y-Axis

Post  uprise78 Thu Sep 03, 2009 9:54 am

Works like a charm! Thanks!

uprise78

Posts : 228
Join date : 2008-10-31

Back to top Go down

Rotating the Camera Around the Y-Axis Empty Re: Rotating the Camera Around the Y-Axis

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum