Open zopsicle opened 1 year ago
The API documentation is correct. The text in the guide is misleading and needs some clarification. Thanks for the feedback.
Seems to have been fixed in the documentation for PhysX 5: https://nvidia-omniverse.github.io/PhysX/physx/5.1.0/docs/Simulation.html#completion-tasks. Thanks!
The SDK Guide says:
I.e. the completion task is submitted just before
simulate
returns. (This would also mean that completion tasks are a redundant feature, as the caller could just submit the task themselves aftersimulate
returns.)The API reference says:
I.e. the completion task is not submitted before all the simulation tasks have finished. (This behavior seems actually useful, as it permits asynchronous use of the API without any blocking.)
It seems to me that the SDK Guide and the API reference disagree about when completion tasks are submitted. I guess the API reference here is correct?