Migrating From PhysX SDK 5.7 to 5.8#

  • This guide highlights all significant parts of the API that have changed in the last release. An application with a working integration of the older version of PhysX should be able to easily migrate to the newer version by following these pointers.

Generic#

  • Removed the deprecated solver residual reporting feature. There is no replacement.

    • PxSceneFlag::eENABLE_SOLVER_RESIDUAL_REPORTING

    • PxScene::getSolverResidual()

    • PxConstraint::getSolverResidual()

    • PxArticulationReducedCoordinate::getSolverResidual()

    • PxResidual

    • PxResiduals

    • PxConstraintResidual

    • PxSceneResidual

    • PxArticulationResidual

  • The CUDA host memory containers and corresponding allocators have been removed from the public headers without deprecation. The corresponding classes are not needed to interact with the PhysX SDK API.

    • PxVirtualAllocator, PxVirtualAllocatorCallback, PxPinnedAllocator have been removed.

    • PxPinnedArray and PxPinnedArraySafe have been removed.

    • The following typedefs have been removed: PxFloatArrayPinned, PxInt32ArrayPinned, PxInt16ArrayPinned, PxInt8ArrayPinned, PxFloatArrayPinnedSafe, PxInt32ArrayPinnedSafe, PxInt16ArrayPinnedSafe, PxInt8ArrayPinnedSafe.

    • PxBitMapPinned was removed.