Legacy Documentation: Version 5.2
Wheel Joint 2D
Area Effector 2D

Constant Force 2D

Switch to Scripting

Constant Force is a quick utility for adding constant forces to a Rigidbody2D. This works great for one shot objects like rockets, if you don’t want it to start with a large velocity but instead accelerate.

It applies both linear and angular (torque) forces continuously to the rigidbody each physics update.

The Constant Force 2D Inspector
The Constant Force 2D Inspector

Properties

Property: Function:
Force The linear force applied to the rigidbody each physics update.
Relative Force The linear force, relative to the rigid-body coordinate system, applied each physics update.
Torque The torque applied to the rigidbody each physics update.
Wheel Joint 2D
Area Effector 2D
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961