this might have nothing to do with scripting but still i really need help with this problem and i couldnt find any other popular website to ask on.
so i pretty much have this problem where the body part (arm) i want to rotate in a rig, rotates in a way that also disconnects the arm from the shoulders, i want to be able to rotate the arm and the same time keep it locked to the shoulders, can someone help me please?
heres an image of the arm after i rotated it, and yes this IS a rig, i used a custom character creator to create the joints : https://pasteboard.co/JQsORPB.png

2 comments
You need to edit the position of the joints or this happens. Try to put the joints on the shoulders instead of in the middle of the arm so it keeps conected even if rotated
thank you so much, i cant really accept your answer because its in the comment section, but if you want to get some rep just copy and paste the comment as an answer and ill accept it.