Talk:LlPointAt

From Second Life Wiki
Revision as of 09:25, 31 January 2007 by GC Continental (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Please note that as of 1.13, this really, really, really doesn't work. An avatar cannot be pointed at anything via a script.

There are no known workarounds for this. Animating it doesn't work, nor will moving a small amount in the correct direction actually cause the avatar to turn, i.e., using llMoveToTarget(vector target) to incrementally move in a small circle will only cause the avatar to square dance.

Animating the avatar only performs an animation. Inworld, the avatar still points in the original direction even though the mesh has been animated to turn. When the animation ends or is canceled, the avatar will return to its original orientation. Moving a small amount to cause the avatar to turn results in the same thing that animation does: the avatar walks sideways or backwards to get to the target location; the forward direction never changes.