by Brayla Sana | Oct 11, 2017 | Camera, Functions, LSL, OSSL, Wiki
SL includes both first-person and third-person camera modes. By disconnecting the camera from the avatar (to around 50m max away [see Notes below]), a lot more can be done otherwise. Some uses of the camera functions are for vehicles and machinima. Functions Function...
by Brayla Sana | Jan 2, 2020 | Camera, Functions, LSL, OSSL, Wiki
llClearCameraParams() Resets all camera parameters to default values and turns off scripted camera control. Requires llRequestPermissions(key agent, PERMISSION_CONTROL_CAMERA). The agent (avatar camera) this function targets is the agent that gave...
by Brayla Sana | Aug 9, 2021 | Camera, Functions
llForceMouselook(integer mouselook) After calling this function with mouselook set to TRUE, any agent sitting down on the prim will be forced into mouselook. Just like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by...
by Brayla Sana | Feb 1, 2022 | Camera, Functions, LSL, OSSL, Wiki
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,...
by Brayla Sana | Feb 1, 2022 | Camera, Functions, LSL, OSSL, Wiki
rotation llGetCameraRot() Returns the rotation of the camera of the user who’s granted this script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_ROTATION. The key of the user whose camera is being tracked can be obtained...
by Brayla Sana | Feb 1, 2022 | Camera, Functions, LSL, OSSL, Wiki
llReleaseCamera(key agent) A FollowCam function that returns the camera to the key agent after permission to change it with llSetCameraParams has been granted via llRequestPermissions(agent_key, PERMISSION_CONTROL_CAMERA). If NULL_KEY is used this function will...