Click or drag to resize

RigidBody2DApplyForce Method (Vector2, Vector2)

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. This wakes up the body.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void ApplyForce(
	Vector2 force,
	Vector2 point
)

Parameters

force
Type: NeoAxisVector2
The world force vector, usually in Newtons (N).
point
Type: NeoAxisVector2
The world position of the point of application.
See Also