I'm working on a game where the player character will only be animated in the left and right state, but the weapon will rotate towards the mouse/crosshair.
The problem I'm having, is that I'm not sure how to make the weapon rotate based on direction. If I enable Automatic Rotations, the weapon will be upside down if it's rotated too far in one direction.
In the example mmf the player character and weapon will always look in the direction of the mouse, but when looking to the left, the weapon is upside down. I'm guessing I need to use some variables for the rotation, rather than automatic, but I don't really know how I can go ahead and do this. Tried searching the forum but couldn't really find what I was looking for.