Getting good performance with reactive ragdolls

I am creating a disaster game but with euphoria ragdolls, the euphoria ragdolls can balance and react to certain situations.

Only one issue… I really don’t know how to optimize my ragdolls because the fire a raycast every 60 frames per second.

I looked at a few solutions but I didn’t think the would be what I want for my game.

So I wanted to achieve a balancing ragdoll that looks nice and doesn’t ruin the experience by losing fps.

Here is an video for a clear explanation if this doesn’t explain it well