Skip to content

Repository files navigation

VPhysics-Box3D

Source VPhysics (IVP/Havok) reimplemented on Box3D. Modelled on VPhysics-Jolt (Volt).

For discussions, please join the Discord server here.

Status

Feature VPhysics Volt Vox3D
Constraints (except pulleys) ✔️ ✔️ ✔️
Pulleys ✔️ ✔️ ✔️
Breakable constraints ✔️ ✔️
Motion controllers ✔️ ✔️ ✔️
Constraint motors ✔️ ✔️ ✔️
Ragdolls ✔️ ✔️ ✔️
Triggers ✔️ ✔️ ✔️
Object touch callbacks ✔️ ✔️ ✔️
Prop damage / breaking ✔️ ✔️ ✔️
Fluid events ✔️ ✔️ ✔️
Prop splashing effects ✔️ ✔️ ✔️
Wheeled vehicles ✔️ ✔️ ✔️
Raycast vehicles (airboat) ✔️ ✔️
Shadow controllers (NPCs, doors) ✔️ ✔️ ✔️
Save / restore ✔️ ✔️ ✔️
Portal support ✔️ ✔️
Per-object no-collide callbacks ✔️ ✔️ ✔️
Crash-resistant solver ✔️ ✔️
Thousands of objects without lag ✔️ ✔️
Multithreaded ✔️ ✔️
Player controller ✔️ ✔️ ✔️

Platforms

Build status per CMake preset. Future support for macOS is unknown.

Preset Builds Tested
gmod-x64 ✔️ ✔️
gmod-x86 ✔️
gmod-linux-x86 ✔️
gmod-linux-x64 ✔️ ✔️
gmod-linux-x86-dedicated ✔️
gmod-linux-x64-dedicated ✔️
sdk2013-mp ✔️
sdk2013-mp-linux ✔️
sdk2013-sp ✔️
sdk2013-sp-linux ✔️
asw ✔️

To build, see: build.md

Media

IVP/Havok vs. Jolt vs. Box3D

IVP/Havok vs. Jolt vs. Box3D

Watermelons

Watermelons

Buoyant Mossmans

Buoyant Mossmans

Battle for Flatgrass

Battle for Flatgrass

Vehicular Homicide

Vehicular Homicide

Credits

  • Box3D by Erin Catto
  • Volt by Joshua Ashton and Josh Dowell

License

MIT, see LICENSE. Box3D and Source SDK code retain their respective licenses.

About

Another fucking replacement module for Source's VPhysics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages