LlRotLookAt

From Second Life Wiki

(Redirected from LSL llRotLookAt)
Jump to: navigation, search

Contents

Description

Function: llRotLookAt( rotation target, float strength, float damping );
127 Function ID
0.0 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 damps 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

Personal tools