线性速度

*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处

LinearVelocity 约束对一个集合施加力,以保持恒定的速度。它可以设置为沿 Vector3、线或二维平面施加力。

相对性

速度的应用可以通过约束的 RelativeTo 属性进行控制。如果设置为 World,则力量将在世界坐标中施加,与父级或附着物的方向无关。如果设置为 Attachment0Attachment1,则力量将相对于 Attachment0Attachment1 分别施加。

RelativeTo = 世界
RelativeTo = Attachment0
©2026 Roblox Corporation、Roblox、Roblox 标志及 Powering Imagination 是我们在美国及其他国家或地区的注册与未注册商标。