Version: 2022.2
言語: 日本語
Rigidbody コンポーネントのリファレンス
衝突

Constant Force コンポーネントのリファレンス

Constant Force adds constant forces to a Rigidbody. This is useful for GameObject movement that accelerates over time.

If you add a Constant Force component to a GameObject that does not have a Rigidbody, Unity automatically creates and adds a Rigidbody to the same GameObject.

For more details, see Apply constant force to a Rigidbody.

プロパティ

For all values, a higher value produces a stronger force, which in turn produces a faster initial velocity.

プロパティ 機能
Force Define the direction of the linear force. The XYZ vectors refer to the scene’s global axes.
Relative Force Define the direction of the linear force. The XYZ vectors refer to the Rigidbody’s local axes.
Torque Define the global axes that the Rigidbody rotates around.
Relative Torque Define the local axes that the Rigidbody rotates around.

ConstantForce

Rigidbody コンポーネントのリファレンス
衝突
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961