Difference between revisions of "LlLookAt"

From Second Life Wiki
Jump to navigation Jump to search
Line 2: Line 2:
|func_id=105|func_sleep=0.0|func_energy=10.0
|func_id=105|func_sleep=0.0|func_energy=10.0
|func=llLookAt|p1_type=vector|p1_name=target|p2_type=float|p2_name=strength|p3_type=float|p3_name=damping
|func=llLookAt|p1_type=vector|p1_name=target|p2_type=float|p2_name=strength|p3_type=float|p3_name=damping
|func_footnote
|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}}.
|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
Line 19: Line 20:
|sort=LookAt
|sort=LookAt
|cat1=Physics
|cat1=Physics
|cat2
|cat2=Target
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 12:54, 21 February 2007

Summary

Function: llLookAt( vector target, float strength, float damping );

Cause object name to point its forward axis towards target

• vector 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.

Examples

See Also

Functions

Deep Notes

Search JIRA for related Issues

Signature

function void llLookAt( vector target, float strength, float damping );