physxx

Crates.iophysxx
lib.rsphysxx
version0.3.1
sourcesrc
created_at2023-05-03 08:31:30.073967
updated_at2023-10-25 13:45:10.266881
descriptionWrapper around the PhysX C++ API that aims to preserve the original API as much as possible.
homepage
repositoryhttps://github.com/AmbientRun/Ambient
max_upload_size
id855186
size137,827
Owners (github:ambientrun:owners)

documentation

README

physxx

This crate provides a semi-safe wrapper around the PhysX C++ API.

This crate is similar to Embark's PhysX crate, except it maps closer to the underlying PhysX API. It doesn't do any lifetime handling for you; once you get an object from PhysX, you need to call .release on it to destroy it. This is because the objects are actually "owned" by PhysX, and the pointers PhysX returns are only references to those objects.

This crate also differs from the Embark one in that it doesn't place any type restrictions on rigid bodies; i.e. you can have have a RigidStatic with multiple types of shapes attached to it.

Commit count: 4583

cargo fmt