I searched the forums and only saw one reference to this but it never got resolved...
recently I had a need for this so I thought I woul bring it up again in case things have changed..
I am trying to make a set of scripts that will help people to easily use llSetCameraEyeOffset and llSetCameraAtOffset. using 3 objects.. sitball, Camera, and Camera_Aimer
..basically position all 3 and touch each one it would tell you the Offsets.
It seems the vectors for llSetCamera...are related to the position of the SitBall..so I have to have each object (the aimer and the camera) locat the position of the sitball and give coords relative to that ..correct?
Is there something out there that does this already ?
If not, Is there someone out there that would like to help me make one?
What I would like to do is this:
Object 1: SitBall - rez and rotate as you like.
Object 2: Camera - rez and position, touch will give you llSetCameraEyeOffSet vector
(relative to SitBall)
Object 3: Camera_Aimer - res and place exactly where you want the camera to point, touch and it will give you the llSetCameraAtOffset vector relative to SitBall.
llSetCameraEyeOffset(<0, 0, 0>

llSetCameraAtOffset(<0, 0, 0>

llGetCameraPos(); // Gets current camera position for agent.
llGetCameraRot(); // Gets current camera orientation for agent.
The WIKI also mentions something about getting permissions using PERMISSION_TRACK_CAMERA, but I dont know if this is relevant here..
As I understand it, llSetCameraEyeOffset sets the position of the camera
llSetCameraEyeOffset(<2, 0, 0>

llSetCameraEyeOffset(<0, 2, 0>

llSetCameraEyeOffset(<0, 0, 2>

llSetCameraEyeOffset(<-2, 0, 0>

llSetCameraEyeOffset(<0, -2, 0>

llSetCameraEyeOffset(<0, 0, -2>

llSetCameraEyeOffset defins the place you want that camera to LOOK at
llSetCameraAtOffset(<2, 0, 0>

etc, etc..(just like above)
There is not much help for this in the WIKI and I think it would be used alot more if there were.
As for the tool-set I want to make, I think it would be handy to just move these 3 prims around, click on each one and have it provide the vectors for you.
Unfortunaly, I am not a very good scripter yet so I am not sure how to tell the other 2 objects to track the SitBall and get local coords based on the location of said SitBall..
Anybody out there care to help out a little?
(by the way, if we figure this out, I would liek to post it as FREE in the forums so that others can use it and possibly come up with something better as SL evolves)
Thanx!!
Dargon Pacer