misyltoad / VPhysics-Jolt

Volt (VPhysics Jolt) is a replacement physics module for the Source Engine.
MIT License
1.26k stars 71 forks source link

Add support for collides serialization #186

Open PiMoNFeeD opened 1 year ago

PiMoNFeeD commented 1 year ago

So after hearing back nothing about #170, I decided to duct-tape a hack that would pass the missing interfaces from the wrapper into the actual physics DLL to see how that would go, and I learned that unfortunately, it is impossible to use VPhysics Jolt to compile any assets (models & maps), because it simply can't serialize any physics data, which annoyingly means that I have to keep swapping the dlls around to compile an asset. Could this be fixed?

Bagellll commented 1 year ago

@PiMoNFeeD I had taken a personal interest in this issue and began working on it in my own fork here. Most of my changes aren't committed at the moment though because for them to be compatible with main, #184 would have to be merged in, which allows for Jolt serialization. At my current progress a map can compile but is having trouble when brush entities or most non-static entities are compiled in (vvis and vrad working as intended, the problem lies in vbsp). I'll probably commit what I have soon to my own fork regardless.