EmbarkStudios / physx-rs

🎳 Rust binding for NVIDIA PhysX 🦀
http://embark.rs
Apache License 2.0
641 stars 42 forks source link

Round out `Controller` trait functions #230

Open cleak opened 3 months ago

cleak commented 3 months ago

The Controller trait is missing some key functions from PxController and isn't very useful in its current state.

The functions appear to be exposed in physx-sys, so it's just a matter of properly piping them through. I'm happy to do this if there are no objections.

cleak commented 3 months ago

This has turned out to be considerably more complicated than I expected. The move function in particular references multiple data types which have nested pointers and inheritance based callbacks.