Advanced sword collision detection problem

penetration will still be visible for one frame

is that really that bad? 1 frame is what 1/30-1/120th of a second. i doubt that will be that noticeable or break the immersion, even more so you immediately begin a retraction anim.

as for your question i dont have an answer but its custom code territory (c++)