SetRelativeRotation not working properly

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.

Did you try rebuilding the solution? Might also be a problem with hot reloading so might need to restart the editor

I will try to that. I had downloaded Ben’s project and had started working on it. I know I shouldn’t have done that but I couldn’t understand at all why it wasn’t working!
But anyways, thanks for the help! :slight_smile:

Privacy & Terms