Don't click here unless you want to be banned.

LSL Wiki : llGetCameraPos

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawling22.us.archive.org
vector llGetCameraPos()
Returns the position of the camera of the user that granted the script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_VECTOR.

Q: Is this in region coordinates?
A: Yes.

To determine where the camera is pointing, see llGetCameraRot.


Functions | Camera
Comments [Hide comments/form]
considering how slow the tracking is on this function what would you use it for?
-- BlindWanderer (2005-08-31 07:04:15)
What do you mean BW? Does the info update slowly?
-- ChristopherOmega (2005-10-25 10:34:57)
When i tested the function in preview it was only updated once per second.
-- BlindWanderer (2005-10-27 00:24:48)
It being updated once a second is no fault of llGetCameraPos() itself but in how often you're script executed it (anyway, if it wasnt, its fixed now, works pretty good for me)
-- AppleUnit01 (2005-10-30 23:14:53)
Is there any way to find the camera focus (i.e. where it points to)?
-- KittenLulu (2006-03-14 01:15:38)
Yes, llGetCameraRot.
-- CatherineOmega (2006-03-30 14:08:59)
Attach a comment to this page: