Difference between revisions of "LlRotLookAt"

From Second Life Wiki
Jump to navigation Jump to search
m (added also=llstoplookat & tweaked description)
Line 5: Line 5:
|p2_type=float|p2_name=strength
|p2_type=float|p2_name=strength
|p3_type=float|p3_name=damping
|p3_type=float|p3_name=damping
|func_footnote=To stop the object from maintaining the '''target''' positions use {{LSLG|llStopLookAt}}<br/>
|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.  
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 name to point its forward axis towards '''target'''
Continues to face '''target''' untill stopped with {{LSLG|llStopLookAt}}.
|return_text
|return_text
|spec
|spec
Line 14: Line 15:
|examples
|examples
|helpers
|helpers
|also_functions=*{{LSLG|llLookAt}}
|also_functions=
*{{LSLG|llLookAt}}
*{{LSLG|llStopLookAt}}
|also_events
|also_events
|also_tests
|also_tests

Revision as of 00:55, 18 January 2008

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 );