RigidBody.addForce

Adds a constant directional force (i.e. acceleration). The position uses the rotation of the global coordinate system, but is centered at the object's origin.

struct RigidBody
@nogc nothrow
void
addForce
(
in Vector3 force
,
in Vector3 position
)

Meta