Version: 2021.1
Wheel Joint 2D
Effectors 2D

Constant Force 2D

Switch to Scripting

Constant Force 2D is a quick utility for adding constant forcesA simple component for adding a constant force or torque to game objects with a Rigidbody. More info
See in Glossary
to a Rigidbody 2D. This works well for one-shot objects like rockets, if you want them to accelerate over time rather than starting with a large velocity.

Constant Force 2D applies both linear and torque (angular) forces continuously to the RigidbodyA component that allows a GameObject to be affected by simulated gravity and other forces. More info
See in Glossary
2D, each time the physics engineA system that simulates aspects of physical systems so that objects can accelerate correctly and be affected by collisions, gravity and other forces. More info
See in Glossary
updates at runtime.

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

Properties

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