Difference between revisions of "LlRotLookAt"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{Issues/SVC-1903}}{{LSL Function/damping|damping}}{{LSL_Function
{{Issues/SVC-1903}}{{LSL Function/damping|damping}}{{LSL Function/strength|strength}}{{LSL_Function
|func_id=127|func_sleep=0.0|func_energy=10.0
|func_id=127|func_sleep=0.0|func_energy=10.0
|func=llRotLookAt
|func=llRotLookAt

Revision as of 04:33, 22 June 2009

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

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

Signature

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