Difference between revisions of "LlRotLookAt"

From Second Life Wiki
Jump to navigation Jump to search
Line 6: Line 6:
|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 stop the object from maintaining the '''target''' positions use {{LSLG|llStopLookAt}}<br/>
To change the position in the same manner use {{LSLG|llMoveToTarget}}.
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'''
|return_text
|return_text

Revision as of 17:49, 21 August 2007

Summary

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

Cause object name to point its forward axis towards target

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

To stop the object from maintaining the target positions use llStopLookAt
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

Deep Notes

Signature

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