Difference between revisions of "LlMoveToTarget"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
|func=llMoveToTarget|p1_type=vector|p1_name=target|p2_type=float|p2_name=tau
|func=llMoveToTarget|p1_type=vector|p1_name=target|p2_type=float|p2_name=tau
|func_footnote=To stop the object from maintaining the '''target''' positions use {{LSLG|llStopMoveToTarget}}
|func_footnote=To stop the object from maintaining the '''target''' positions use {{LSLG|llStopMoveToTarget}}
To change the rotation in the same manner use {{LSLG|llLookAt}} or {{LSLG|llRotLookAt}}.
|func_desc=Critically damp to '''target''' in '''tau''' seconds (if the script is physical)
|func_desc=Critically damp to '''target''' in '''tau''' seconds (if the script is physical)
|return_text
|return_text
Line 11: Line 12:
|helpers
|helpers
|also_functions=*{{LSLG|llStopMoveToTarget}}
|also_functions=*{{LSLG|llStopMoveToTarget}}
*{{LSLG|llLookAt}}
*{{LSLG|llRotLookAt}}
*{{LSLG|llTarget}}
|also_tests
|also_tests
|also_events
|also_events

Revision as of 12:50, 21 February 2007

Summary

Function: llMoveToTarget( vector target, float tau );

Critically damp to target in tau seconds (if the script is physical)

• vector target
• float tau seconds to critically damp in

To stop the object from maintaining the target positions use llStopMoveToTarget To change the rotation in the same manner use llLookAt or llRotLookAt.

Examples

Deep Notes

Search JIRA for related Issues

Signature

function void llMoveToTarget( vector target, float tau );