“LlStopLookAt”的版本间的差异
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名 = Function: llStopLookAt( ); |参数= 参数:无 |返回值= 返回…”) |
(没有差异)
|
2020年8月10日 (一) 07:55的最新版本
首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
函数名 |
---|
Function: llStopLookAt( ); |
参数:无 |
返回值:停止使对象指向目标
与llLookAt或llRotLookAt连用。 |
注意事项 |
---|
无 |
示例 |
---|
示例1
default { state_entry() { llSensorRepeat("", "", AGENT, 20.0, PI, 0.2); //Detects avatars } sensor(integer total_number) { llLookAt( llDetectedPos(0) + <0.0, 0.0, 1.0>, 3.0, 1.0 ); //Looks at the nearest avatar. } touch_start(integer total_number) { llStopLookAt(); llSensorRemove(); //Stops looking at any avatar and removes the sensor. } } |
相关函数 |
---|
llLookAt |
相关事件 |
---|
无 |