In trying to advance the camera FSMs I've come across a problem!
Basically I want to get the camera to return to the original orientation when I release a touch, which is easy to do when I return to a set Vector. The problem arises when I try to get the camera to rotate back around behind the character again (resetting the Y axis), but maintain the same height that the player has rotated to (maintaining the X axis).
If I rotate to a value beneath the character, this works as intended. However if I rotate to a point above the character, upon releasing the touch the camera rotates to the same distance, only beneath the character rather than above. Upon closer inspection, I found that the object's rotation wasn't being reflected between 0-360 on the object itself, rather a 0 to 90 twice and 0 to -90 twice.
Basically no idea how to tackle this, there is a good chance there is a super simple solution to this problem but I'll throw it out to you guys in the mean time.
Thanks in advance.