Difference between revisions of "LlMoveToTarget"
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
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llMoveToTarget( vector target, float tau );70 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
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.