I need my character to take something by hand. I have to rotate the lower arm bone by something near 180 degrees. It causes the artifacts shown in the pictures. I tried to rotate the upper arm bone instead but I failed. I tried to change the wight paint it helped a little but still not good.
The hand has to be in that direction to look good. This is the max rotation that gives good looking.
Here’s my bone setup: