Difference between revisions of "LlGetCameraPos"

From Second Life Wiki
Jump to navigation Jump to search
m (fixe)
m
Line 12: Line 12:
|examples
|examples
|helpers
|helpers
|also_functions={{LSL DefineRow||{{LSLG|llGetCameraRot}}|}}
|also_functions=
{{LSL DefineRow||{{LSLG|llGetCameraRot}}|}}
{{LSL DefineRow||{{LSLG|llSetCameraParams}}|}}
{{LSL DefineRow||{{LSLG|llSetCameraAtOffset}}|}}
{{LSL DefineRow||{{LSLG|llSetCameraEyeOffset}}|}}
|notes
|notes
|cat1=Camera
|cat1=Camera

Revision as of 17:41, 26 July 2008

Summary

Function: vector llGetCameraPos( );
0.0 Forced Delay
10.0 Energy

Returns a vector that is the current camera position for the agent the task has permissions for.

To run this function the script must request the PERMISSION_TRACK_CAMERA permission with llRequestPermissions.

Caveats

Permissions
  • Seems to act weird when the camera gets too far from the agent.

Examples

See Also

Events

•  run_time_permissions Permission receiving event

Functions

•  llGetPermissions Get the permissions granted
•  llGetPermissionsKey Get the agent who granted permissions
•  llRequestPermissions Request permissions
•  llGetCameraRot
•  llSetCameraParams
•  llSetCameraAtOffset
•  llSetCameraEyeOffset

Articles

•  Script permissions

Deep Notes

Signature

function vector llGetCameraPos();