Build the flinch a struck body yields under an impact: the reactive
push (a deflection driven by the impulse) propagates down a chain of
bones (from the contact bone toward the body) losing strength by falloff
each link, and each joint only yields as far as its ROM allows
(IAutoMovieJointConstraint). So what the hit does to the body is
bounded by the same joint ranges the engine already validates against: a neck
can only snap so far, a spine only bend so much.
This is the ROM-aware half of collision response: the reactive force decides
how hard the push is, the joint ROM decides how far the body actually goes.
The caller maps an IAutoMovieImpact's impulse to the push
magnitude.
Build the flinch a struck body yields under an impact: the reactive
push(a deflection driven by the impulse) propagates down achainof bones (from the contact bone toward the body) losing strength byfalloffeach link, and each joint only yields as far as its ROM allows (IAutoMovieJointConstraint). So what the hit does to the body is bounded by the same joint ranges the engine already validates against: a neck can only snap so far, a spine only bend so much.This is the ROM-aware half of collision response: the reactive force decides how hard the push is, the joint ROM decides how far the body actually goes. The caller maps an IAutoMovieImpact's impulse to the
pushmagnitude.