Can we use PhysX in WebGL? I'm new to GL stuff (coming in via WebGL, with no direct OpenGL experience). Can we use PhysX with WebGL?
PhysX is a C++ API and can thus not directly be integrated with the JavaScript-based WebGL.

Depending on your needs, you have the following options:


Use a JavaScript-based physics engine, mostly suitable for 2D use cases.
Use a Game Engine that can export for the web (e.g. Unity 3D) and build your application in there, using full 3D physics capability. Keep in mind that this will probably require your users to install some additional Web Player and is not native WebGL.


Keep in mind that Game Engines may be a viable way for 2D applications too and can make your life a whole lot easier.