cargo build --releaseit should work out-of-the-box on Mac and Windows, but on Linux you need to first install (required by egui):
sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
On Fedora Rawhide you need to run:
dnf install clang clang-devel clang-tools-extra libxkbcommon-devel pkg-config openssl-devel libxcb-devel gtk3-devel atk fontconfig-devel
./target/release/box3d- Press and hold the Right Mouse Button to adjust the camera's yaw and pitch
- Scroll the Middle Mouse Button to zoom the camera in or out
- Press and hold the Middle Mouse Button to translate the camera left or right
- Click on the cuboid body to apply a force to it
- Drag the contact ball to adjust the contact point
- egui
- bevy
https://graphics.stanford.edu/courses/cs448b-00-winter/papers/phys_model.pdf
https://www.cec.uchile.cl/cinetica/pcordero/MC_libros/NumericalRecipesinC.pdf
https://danielchappuis.ch/download/ConstraintsDerivationRigidBody3D.pdf
https://dyn4j.org/2010/09/distance-constraint/ https://dyn4j.org/2010/12/max-distance-constraint/
https://www.toptal.com/game/video-game-physics-part-iii-constrained-rigid-body-simulation