Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Mouselook rotation?

Keno Pontoppidan
Registered User
Join date: 20 Oct 2005
Posts: 75
02-04-2008 07:56
Is it possible to get your mouselook rotation relative to the region?
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-04-2008 11:10
Yes. The rotation of the avatar (llGetRot() in an attachment, or llDetectedRot() in a sensor, or the OBJECT_ROT result of llGetObjectDetails()) reflects the direction you are looking in mouselook. See http://www.lslwiki.net/lslwiki/wakka.php?wakka=llDetectedRot