RigidBody2DApplyForce(Vector2, Vector2) Method |
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: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic void ApplyForce(
Vector2 force,
Vector2 point
)
Parameters
- force Vector2
- The world force vector, usually in Newtons (N).
- point Vector2
- The world position of the point of application.
See Also