Click or drag to resize

BodyApplyForce 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:  Internal.tainicom.Aether.Physics2D.Dynamics
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void ApplyForce(
	ref Vector2 force,
	ref Vector2 point
)

Parameters

force
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The world force vector, usually in Newtons (N).
point
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The world position of the point of application.
See Also