Hi,
I am using HeadStackks custom tools to animate my weapon. The problem is that the gun is facing 90 degrees to the left. All I need help with is rotating the motor6d it’s connected to, 90 degrees to the right.
Picture:
You can see in the bottom left corner that the gun is rotated 90 degrees to the left.
Code responsible for setting C0:
toolGrip.C0 = (camCF * CFrame.new(0, -1.5, 0)):toObjectSpace(torso.CFrame):inverse() * CFrame.Angles(0, math.pi/2, 0)
I need to rotate the tool grip 90 degrees to the right. I tried to do
+ CFrame.Angles(math.rad(90), 0, 0)
But it doesn’t let me add a cframe to a cframe.