Template:I FuncMoveLinear:zh-cn

来自Valve Developer Community
跳转至: 导航搜索
English (en)中文 (zh)
... Icon-Important.png

使用 |l4d2=1 来显示两个仅适用于求生之路 2 中的实体的输入。FuncMoveLinear:

Open
将笔刷移动到结束位置 {starting position (起始位置) + [move direction (移动方向) * move distance (移动距离)]}。
Close
将笔刷移动到起始位置。
SetPosition<float> | 浮点型
移动笔刷到指定的位置,其中 0 是起始位置,1 是 starting position(起始位置) + [move direction (移动方向) * move distance (移动距离)]
SetSpeed<float> | 浮点型
设置速度并立即更新。