Hello.
I am struggling finding information about mouse rotation options… hoping that it’s possible!
What I am aiming to do is to rotate the direction of the cursor on the screen (with different degrees conditions) compared to the direction the participant is doing with the mouse.
Here a visual help to better understand:
To make it “easy”, even if the person moves straight, I want the cursor to move with a certain anlge rotation so that the person needs to change its movement to reach the target.
@wakecarter thanks a lot!
However, I tried to use the code by adapting it but it’s not really clear to me the all procedure and, consequently, I don’t really kow how to make it work.
Could you give me some more details,
Thanks in advance!
Originally written in 2017, this demo is a game where the object is to destroy targets using the mouse, where the mouse control has been rotated.
I’ve added some comments and made some components clearer.
The key is that there are two mouse locations – the real one (which is invisible) and the visible one. I therefore need objects (polygon targets) at both locations. When the participants thinks they are clicking on the visible target, in reality their invisible mouse cursor is clicking on the invisible target.