Joshua-Ashton / VPhysics-Jolt

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

NPCs killed with ragdoll hinge optimization enabled keep their poses #7

Open Joshua-Ashton opened 2 years ago

Joshua-Ashton commented 2 years ago

When NPCs are killed with hinge optimizations enabled, they inherit their poses and thus become 'statue-like'.

Currently we rely on hinge optimizations (ragdoll -> hinge when 1DOF) to workaround a limitation with Jolt's 6DOF constraint not supporting disjoint min/maxes for rotation on Y/Z axes.

Joshua-Ashton commented 1 month ago

Sometimes still an issue since ragdoll rewrite. Not sure why.