RavEngine
Loading...
Searching...
No Matches
Character
Collaboration diagram for Character:

Namespaces

namespace  physx
 Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
 

Functions

PX_C_EXPORT physx::PxControllerManager *PX_CALL_CONV PxCreateControllerManager (physx::PxScene &scene, bool lockingEnabled=false)
 Creates the controller manager.
 

Detailed Description

Function Documentation

◆ PxCreateControllerManager()

PX_C_EXPORT physx::PxControllerManager *PX_CALL_CONV PxCreateControllerManager ( physx::PxScene &  scene,
bool  lockingEnabled = false 
)

Creates the controller manager.

Parameters
[in]scenePhysX scene.
[in]lockingEnabledEnables/disables internal locking.

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.

Note
locking may result in significant slowdown for release of actors or shapes.

By default, locking is disabled.