MaximumADHD / Character-Realism

A flexible character enhancement system for Roblox.
Mozilla Public License 2.0
103 stars 25 forks source link

R6 Left arm not working #9

Open JoeMamae opened 3 years ago

JoeMamae commented 3 years ago

Screenshot (349)

nootkroot commented 2 years ago

This is still happening, found a fix on the DevForum for it but it feels kinda hacky. Go to line 300 and you should see something like this;

if dirty then

end

and replace that with:

if dirty or name:sub(1, 4) == "Left" then
    local rot = origin - origin.Position

    local cf = CFrame.Angles(0, fPitch, 0)
             * CFrame.Angles(fYaw, 0, 0)

    motor.C0 = origin * rot:Inverse() * cf * rot
end

Link to the DevForum post: https://devforum.roblox.com/t/realism-%E2%80%94-make-your-games-feel-more-immersive/898642/64