How do you change orientation value of a joint C0?

title1232452352355345453456 54654654
trying this but doesnt work

Rshoulder.C0.Orientation =  CFrame.new(nil,nil, cameradirection)

You have to multiply the CFrame with CFrame.Angles().

-- Need to use math.rad so the degree (90) is converted to radians.
Rshoulder.C0 = CFrame.new() * CFrame.Angles(0, math.rad(90), 0)
1 Like

this nearly works but it resets the original c0 values, is it possible to only change the orientation Z value or keep the normal values
image
image

bump543e56436454543564565466346

bump2 dfmksdfvkmgsdjngjngefsdg

Have you tried this?

Rshoulder.C0 = Rshoulder.C0 * CFrame.Angles(0, math.rad(90), 0)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.