Function physx_sys::phys_PxCreateControllerManager
source · pub unsafe extern "C" fn phys_PxCreateControllerManager(
scene: *mut PxScene,
lockingEnabled: bool
) -> *mut PxControllerManager
Expand description
Creates the controller manager.
The character controller is informed by PxDeletionListener::onRelease
when actors or shapes are released, and updates its internal
caches accordingly. If character controller movement or a call to PxControllerManager::shiftOrigin
may overlap with actor/shape releases,
internal data structures must be guarded against concurrent access.
Locking guarantees thread safety in such scenarios.
locking may result in significant slowdown for release of actors or shapes.
By default, locking is disabled.