pub unsafe extern "C" fn PxControllerManager_computeInteractions_mut(
    self_: *mut PxControllerManager,
    elapsedTime: f32,
    cctFilterCb: *mut PxControllerFilterCallback
)
Expand description

Computes character-character interactions.

This function is an optional helper to properly resolve interactions between characters, in case they overlap (which can happen for gameplay reasons, etc).

You should call this once per frame, before your PxController::move() calls. The function will not move the characters directly, but it will compute overlap information for each character that will be used in the next move() call.

You need to provide a proper time value here so that interactions are resolved in a way that do not depend on the framerate.

If you only have one character in the scene, or if you can guarantee your characters will never overlap, then you do not need to call this function.

Releasing the manager will automatically release all the associated obstacle contexts.