RigidBody.addCentralForce

Adds a constant directional force (i.e. acceleration) without affecting rotation. This is equivalent to add_force(force, Vector3(0,0,0)).

struct RigidBody
@nogc nothrow
void
addCentralForce
(
in Vector3 force
)

Meta