Difference between revisions of "LlRotLookAt"

From Second Life Wiki
Jump to navigation Jump to search
m (eliminate the extraneous word, name)
(damping limit for physical objects)
Line 21: Line 21:
|also_tests
|also_tests
|also_articles
|also_articles
|notes
|notes=*For physical objects, '''damping''' seems to be limited at 1.0; setting it to greater value has the same effect as if it was 1. Tested 21 October 2010 on server version 10.10.18.212360.
|permission
|permission
|negative_index
|negative_index

Revision as of 14:29, 20 October 2010

Summary

Function: llRotLookAt( rotation target, float strength, float damping );
0.0 Forced Delay
10.0 Energy

Cause object 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

Notes

  • For physical objects, damping seems to be limited at 1.0; setting it to greater value has the same effect as if it was 1. Tested 21 October 2010 on server version 10.10.18.212360.

See Also

Functions

•  llLookAt
•  llStopLookAt

Deep Notes

Signature

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