Template:Needs Translation/
函数名
|
Function: llUpdateCharacter( list options );
|
参数:更新角色的设置
•列表选项–字符配置选项。
|
返回值:无
|
注意事项
|
(可更改)
字符的期望速度范围为0.2到40.0。
字符半径范围为0.1到5.0。
字符长度范围为0.0到10.0。
TRAVERSAL_TYPE
|
示例
|
示例1
default
{
state_entry()
{
llCreateCharacter([CHARACTER_DESIRED_SPEED, 10.0]);
list points = [llGetPos() + <5,0,0>, llGetPos() - <5,0,0>];
llPatrolPoints(points, []);
}
touch_start(integer total_number)
{
llUpdateCharacter([CHARACTER_DESIRED_SPEED, 50.0]);
}
}
|
附录:(表格)
Option
|
|
Default
|
Range / Values
|
Description
|
CHARACTER_DESIRED_SPEED
|
1
|
6
|
[0.2, 40.0]
|
追击速度,米/秒。
|
CHARACTER_RADIUS
|
|
2
|
[0.125, 5.0]
|
设置碰撞胶囊半径。
|
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 1
|
row 2, cell 2
|
row 2, cell 3
|
row 2, cell 2
|
row 2, cell 3
|