Difference between revisions of "LlRotLookAt"

From Second Life Wiki
Jump to navigation Jump to search
m
m (eliminate the extraneous word, name)
Line 6: Line 6:
|p3_type=float|p3_name=damping
|p3_type=float|p3_name=damping
|func_footnote=To change the position in the same manner use {{LSLG|llMoveToTarget}}.  For physical objects a range between .2 and 1 is good for both parameters.  
|func_footnote=To change the position in the same manner use {{LSLG|llMoveToTarget}}.  For physical objects a range between .2 and 1 is good for both parameters.  
|func_desc=Cause object name to point its forward axis towards '''target'''
|func_desc=Cause object to point its forward axis towards '''target'''


Continues to face '''target''' untill stopped with {{LSLG|llStopLookAt}}.
Continues to face '''target''' untill stopped with {{LSLG|llStopLookAt}}.

Revision as of 15:33, 11 December 2009

Summary

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

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

See Also

Functions

•  llLookAt
•  llStopLookAt

Deep Notes

All Issues

~ Search JIRA for related Issues
   llRotLookAt & llLookAt do not update the object's bounding box

Signature

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