pub unsafe extern "C" fn phys_PxCreateFoundation(
    version: u32,
    allocator: *mut PxAllocatorCallback,
    errorCallback: *mut PxErrorCallback
) -> *mut PxFoundation
Expand description

Creates an instance of the foundation class

The foundation class is needed to initialize higher level SDKs. There may be only one instance per process. Calling this method after an instance has been created already will result in an error message and NULL will be returned.

Foundation instance on success, NULL if operation failed