Playcanvas with NVIDIA PhysX


https://playcanvas.com/project/737359/overview/playcanvas-with-nvidia-physx

Project demonstrates the use of NVIDIA PhysX with Playcanvas. All physics are moved to web worker.

14 Likes

This is amazing! Do you think it would be possible to integrate the full PhysX and add it as a second option to Ammo? This could be super useful to many. :pray: @LeXXik @will

3 Likes

Very nice work, many thanks for sharing! Did you run any performance comparison with Ammo.js for large dynamic scenes?

1 Like

@pixelpros right, that may be done at some point in the future. We need to wait for better bindings coverage, at least to match the Ammo functionality.

@Leonidas thanks! The bindings are quite limited for now, so many features are simply lacking en emscripten bind. It would take some effort to expose additional bindings, so perhaps at some point later. Nevertheless, here is a stress test for comparison Ammo vs Cannon vs PhysX made by https://github.com/prestomation from Amazon team:
https://2ba77ff724a446bfad8715d24bb9cd30.us-west-2.sumerian.aws/

The example sources are based on the pending PR:

4 Likes