RigidBody2D.addForce

Adds a positioned force to the body. Both the force and the offset from the body origin are in global coordinates.

struct RigidBody2D
@nogc nothrow
void
addForce
(
in Vector2 offset
,
in Vector2 force
)

Meta