Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetCameraParams

Konigmann Lippmann
Registered User
Join date: 15 Jun 2004
Posts: 40
01-08-2008 10:57
Does anybody have a good handle on llSetCameraParams?

FOCUS, PITCH & POSITION, seem quite clear, but I find terms like CAMERA_BEHINDNESS to be far from clear, while it also fails to discuss what the target IS or if it's settable. (Offset, I get, but what am I offsetting from?) Also, positions specified in REGION coordinates and angles measured in DEGREES seem extremely unusual to me for a scripted camera control, and while I can handle degrees, there's something wrong in controlling something that is inherently relative with absolute positions.

Clearly the Wiki could use a few good examples on this.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-08-2008 17:09
behindness acts like a buffer or drag zone in which the camera will ignore changes (mostly used for vehicles to give the visual sense of the vehicle turning before the camera catches up and turns too), as for the position being in region coordinates... well that's what happens when you build a language in a few days... you can either ignore those parameters, or set them to the object using llGetPos()..
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -