Go to file
Joshua Ashton 74af14bb13
continuous-integration/drone/push Build is failing Details
all: Rebase against latest VPhysics Jolt
Bump submodule to 172a99c718bded5faa169ac440517286684fa2f0 and fixup our code to support the latest version.

Additionally, some water changes/fixes.
2023-03-29 18:13:53 +01:00
.github/workflows artifacts.yml: Improvements 2022-09-21 19:26:50 +01:00
assets Initial commit 2022-08-29 00:21:50 +01:00
joltphysics all: Rebase against latest VPhysics Jolt 2023-03-29 18:13:53 +01:00
vpc_scripts vpc_scripts: Remove jolt_static group 2022-09-09 00:19:12 +01:00
vphysics_jolt all: Rebase against latest VPhysics Jolt 2023-03-29 18:13:53 +01:00
vphysics_wrapper all: Add multiple builds for different CPU feature sets and a wrapper DLL to go along with them 2022-09-08 23:43:01 +01:00
.drone.yml ci: Copy vphysics.so -> vphysics_client.so for GMod 2022-09-09 00:07:08 +00:00
.editorconfig Initial commit 2022-08-29 00:21:50 +01:00
.gitignore meta: Add .sentinel to gitignore 2022-09-08 23:43:01 +01:00
.gitmodules Initial commit 2022-08-29 00:21:50 +01:00
LICENSE Initial commit 2022-08-29 00:21:50 +01:00
README.md README: Add reference to Jolt Physics repo in the readme. 2022-10-25 01:11:24 +01:00
build.md meta: Add build.md 2022-09-21 18:30:01 +00:00


VPhysics Jolt Logo

What is Volt?

Volt (VPhysics Jolt) is a replacement for Source's VPhysics which uses IVP/Havok using Jolt Physics
Created by Joshua Ashton (🐸) @phys_ballsocket and Josh Dowell (Slartibarty) @Slartbarty.

Volt is designed to be incredibly high performance, supporting thousands of objects at once without bringing tick/framerate down to a crawl.

In our testing, the performance overhead from having thousands of objects moving at once, now comes from the client code needing to update/render, as going out of the PVS of these objects will still cause them to be simulated, but will no longer be rendered.


Volt is mostly feature complete, but is missing some things such as support for raycast vehicles, breakable constraints, and perhaps other things we've missed!

It is our goal to implement any missing features at some point.

Below is a feature table of Volt vs VPhysics and the Bullet VPhysics project. If we missed anything we don't support or we do, feel free to add to it. It is not meant to be a bash on anyone elses work however, the Bullet VPhysics project was a great inspiration to us!

Feature VPhysics Volt (VPhysics Jolt) Bullet VPhysics
Constraints (except Pulleys) ✔️ ✔️ ✔️
Pulleys ✔️
Breakable constraints ✔️
Motors (Motion Controllers) ✔️ ✔️ ✔️
Motors (Constraint) ✔️ ✔️
Ragdolls ✔️ ✔️ (some bugs) ✔️
Triggers ✔️ ✔️
Object touch callbacks ✔️ ✔️
Prop damage/breaking ✔️ ✔️
Fluid events ✔️ ✔️
Prop splashing effects ✔️ ✔️
Wheeled Vehicles ✔️ ✔️ ✔️
Raycast Vehicles (ie. Airboat) ✔️ 〰️ (janky)
NPCs/Doors (Shadow Controllers) ✔️ ✔️ ✔️
Save/Restore Support ✔️ ✔️
Portal Support ✔️ ✔️
Game per-object collide callback support
eg. no-collide
✔️ ✔️
Crash-resistant solver ✔️ (no data)
Supports thousands of objects without lag ✔️
Multithreaded ✔️ ✔️ (partially)
Proper player controller ✔️ (needs work!) ✔️ (partially)


VPhysics Jolt is not without its flaws, however. See the issue tracker for bugs that are known.

There are definitely going to be bugs that we don't know about or haven't encountered, or different quirks across engine branches.

How to build

The Volt code is provided as-is, it is up to you to build it for your SDK, etc.

Volt should build fine against Source SDK 2013 and Alien Swarm SDK on a MSVC or GCC compiler with at least C++20 support.

If you are building directly against the public SDK 2013 and Alien Swarm SDKs, you will need to do minor work to memoverride.cpp to make it compatible with the newer compilers and newer Windows SDKs.

Unfortunately we cannot redistribute the additional code/headers needed to build Volt for games such as Garry's Mod which uses a different VPhysics interface (CS:GO's) to what is found in the Valve-provided public SDKs.

For full build instructions pertaining to SDK 2013, refernce build.md.


Development builds for each commit for SDK2013 SP/MP + ASW are available as artifacts on each commit on GitHub through GitHub Actions.
Development builds for each commit for Garry's Mod are available on froggi.es.

For each release, binary builds are provided for Garry's Mod and Source SDK 2013 on the Releases page.


Lots of Melons + Dumpster

Lots of Melons + Dumpster

Physically Simulated Chain

Physically Simulated Chain

Lots of Balls Test

Lots of Balls Test

Wheels + Weld Car Dupe Test

Weld Car Dupe Test

Door + NPC (Physics Shadowed Objects) Test

Door + NPC (Physics Shadowed Objects) Test

Lots of Cubes + Ragdolls + Funnel

Lots of Cubes + Ragdolls + Funnel

Slow Mo Cubes

Slow Mo Cubes

Propane in Dumpster

Propane in Dumpster

Have some cool media of stuff going on in Volt you'd like to add? Feel free to make a pull request!

Projects using Volt

Portal 2: Desolation

Prelude: Online

Have fun! 🐸