-
What do you want to achieve? I am trying to make the arms follow the camera
-
What is the issue? The arms are moving left and right as seen in the attached picture
-
What solutions have you tried so far? I can not find anything and would like other developer’s support
char["RightUpperArm"].Joint.C0 = (char["RightUpperArm"].Joint.C0 * CFrame.Angles(0, 0, -rightZ)) * CFrame.Angles(0, 0, math.asin((hit - origin).unit.y))
local leftX, leftY, leftZ = char["LeftUpperArm"].Joint.C0:ToEulerAnglesYXZ()
char["LeftUpperArm"].Joint.C0 = (char["LeftUpperArm"].Joint.C0 * CFrame.Angles(0, 0, -leftZ)) * CFrame.Angles(0, 0, math.asin((-hit - -origin).unit.y))
(THIS IS A CUSTOM RIG)