|
Izanagi Asano
Registered User
Join date: 16 Apr 2007
Posts: 9
|
03-22-2008 16:55
I notice when you get permissions to track camera there is a llGetCameraRot() command. But I don't see anything about camera rotation in llSetCameraParams(). Is the get command useless or is it just meant for completeness?
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
03-22-2008 21:47
CAMERA_POSITION and CAMERA_FOCUS essentially give you the camera rotation. There's just one degree of movement that is constrained, to keep the world's z-axis in the camera's xz-plane (so that the only difference between the camera rotation and an upright position is a pitch; there's no roll component). This still gives the viewer the "upright" feel, which I assume is why they did it that way (on top of the interface possibly being a little more user friendly as a simple "where am I and what am I looking at"  .
|