Hi there. I’m currently stuck at the mechanics for rotating a valve or wheel with the mouse. I want to make it like they did in Amnesia where the player has to mimic the rotation of the valve with the mouse. (“Drawing” circles clockwise or anticlockwise)
I have a setup that makes a direction out of mouse x and y and gets the rotation from it but that seems to work only on vertical mouse movement and gets jittery at horizontal mouse movement.
Does someone know how to do this properly or how they did it in Amnesia? Thanks in advance!