Difference between revisions of "LlMoveToTarget"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
|func_id=70|func_sleep=0.0|func_energy=10.0 | |func_id=70|func_sleep=0.0|func_energy=10.0 | ||
|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}}<br/> | ||
To change the rotation in the same manner use {{LSLG|llLookAt}} or {{LSLG|llRotLookAt}}. | 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) |
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.