Physics2DServerSingleton.bodyAddForce

Adds a positioned force to the applied force and torque. As with bodyApplyImpulse, both the force and the offset from the body origin are in global coordinates. A force differs from an impulse in that, while the two are forces, the impulse clears itself after being applied.

struct Physics2DServerSingleton
@nogc nothrow
void
bodyAddForce
(
in RID _body
,
in Vector2 offset
,
in Vector2 force
)

Meta