i try make a machine gun, this
assembly use two hinge constraints, X and Y.
limittedEnabled = true, Y - lower, upper angles = -30, 30;
X - lower, upper angles = -70, 70
how i can calculate targetAngle relatively mouse position
I think I need to use a dot product … but I’m not sure about this
