pub unsafe extern "C" fn PxRigidBodyExt_addForceAtLocalPos(
    body: *mut PxRigidBody,
    force: *const PxVec3,
    pos: *const PxVec3,
    mode: PxForceMode,
    wakeup: bool
)
Expand description

Applies a force (or impulse) defined in the global coordinate frame, acting at a particular point in local coordinates, to the actor.

Note that if the force does not act along the center of mass of the actor, this will also add the corresponding torque. Because forces are reset at the end of every timestep, you can maintain a total external force on an object by calling this once every frame.

if this call is used to apply a force or impulse to an articulation link, only the link is updated, not the entire articulation

::PxForceMode determines if the force is to be conventional or impulsive. Only eFORCE and eIMPULSE are supported, as the force required to produce a given velocity change or acceleration is underdetermined given only the desired change at a given point.

Sleeping: This call wakes the actor if it is sleeping and the wakeup parameter is true (default).