Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

PhysicsBody.ApplyForce

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

Submission failed

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

Close

Cancel

Declaration

public void ApplyForce(Vector2 force, Vector2 point, bool wake);

Parameters

Parameter Description
force The world force vector, usually in newtons (N)
point The world position of the point of application.
wake Should the body be woken up.

Description

Apply a force at a world point. If the force is not applied at the center of mass, it will generate a torque and affect the angular velocity.