misyltoad / VPhysics-Jolt

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

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

Open misyltoad opened 2 years ago

misyltoad 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.

misyltoad commented 3 months ago

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