Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

can I get another avatar's camera position?

Grog Waydelich
Registered User
Join date: 31 Mar 2008
Posts: 11
09-22-2008 13:15
I've been searching around for the answer to this and I think it is "no", but I'd like to be certain before I give up - so I'd really appreciate it if someone has tried this and knows ...

I'm using llGetCameraPos() and llGetCameraRot() to get the camera position of "me" - the avatar that wears my script. But I'd like to get this information for all the avatars around me. I can get a list of the local avatars, and get their positions/rotations using llGetObjectDetails() - is it possible to get camera details as well or is this "private" to the users?

I'd also like to detect whether local avatars have voice on and/or are using it. A thread earlier this year said that this info was not available to scripts - any chance this situation has changed in the meantime?

thanks in advance, -gw
_____________________
------------------
Grog Waydelich
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
09-22-2008 13:22
someone mentioned something about it in the past, but i don't remember how. it may just be something the owner sim owner(or administrators) has access to. but in the advanced menu you can show the crosshairs for point at and look at, but it currently doesn't tell you who it belongs to.

edit: i just looked at the wiki for that, it is possible, but you would need to get the permissions from the avatar you want to track
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
09-22-2008 17:23
I believe you should be able to track other avatars' cameras, but you'll have to request PERMISSION_TRACK_CAMERA, and they will have to accept the permission using the blue permissions dialog (the only times this permission is granted without the dialog is for the owner/wearer and if the avatar is sitting on the object). Also note that any given script can be granted permissions for only a single avatar at a time, so you will need multiple scripts if you want to track multiple simultaneously.