llRotLookAt

From Second Life Wiki
Revision as of 00:55, 18 January 2008 by Void Singer (talk | contribs) (added also=llstoplookat & tweaked description)
Jump to navigation Jump to search

Summary

Function: llRotLookAt( rotation target, float strength, float damping );

Cause object name to point its forward axis towards target

Continues to face target untill stopped with llStopLookAt.

• rotation target
• float strength
• float damping seconds to critically damp in

To change the position in the same manner use llMoveToTarget. For physical objects a range between .2 and 1 is good for both parameters.

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function void llRotLookAt( rotation target, float strength, float damping );