Adding physx library as a dependency

If you have cargo-edit installed, run this command in a terminal, in your project's directory:

cargo add physx

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

physx = "0.5.1"

The physx library will automatically available globally.

Back to the crate overview.