An LSL example that shows how to look at some (vector) position would be nice. Every time I've looked at this call, it's been because I had an object that I wanted to look at (face) some other object or avatar. Usually, I hack at it until it works or run away and start drinking instead.
Meade Paravane 21:06, 18 August 2009 (UTC)
Description is wrong and/or unhelpful
The description of the actual function is "Cause object to point its forward axis towards target". This makes no sense, since "target" is a rotation. What would it mean for an object to point its forward axis "towards" a rotation?
I would love to see a nice clear English description of what this function actually does. :) Every time I've started out trying to use it, I've ended up using something else (llLookAt(), or llSetRot(), or something else). Is this just the equivalent of llSetRot() for physical objects? (In which case it's odd that it works for nonphysical ones as well.) Or does it do something different / more complicated? Does the "forward" (i.e. increasing-x) axis actually play any sort of part in its function? Inquiring scripters want to know!
Dale Innis 19:00, 21 March 2011 (PDT)