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

Constant Force 2D

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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