I am having a problem with set relative rotation function. My commit is here.
What happens is that I get the appropriate value for elevation, but when I pass it to the SetRelativeRotation function, it does not work.
The code of elevate function
The output, barrel not moving at all.