Hello, I am trying to aim with the psmove by basically using the psmove as a mouse pointer. It sounds quite basic but read on.
I have a script for it that works quite well, with psmoveservice, psmovebridge and then the script in freepie.
It uses the gyroscope so the obvious problem i'm having is that the gyroscope doesn't have any positional tracking so I lose calibration quite often, especially when I move around. I solve this by toggle button that activates and deactives the mouse emulation.
When I deactivate it I aim in the direction the gun is aiming at that time and then activate the emulation again. Still it is quite cumbersome since this method was originaly used to aim on a flat screen without changing position.
For vr this isn't the best method but then I thought when you aim at something you always look that way, you're not going to aim while just looking with your eyeballs, you're going to turn your head in the exact direction of the enemy, it's only the finer precision afterwards that you do with your eyeballs.
So I thought , if I could have a button that centers the crosshair/lasersight in the middle of my screen, this method could work quite well. The problem is that I cannot find a way to center the aim. I know how to center the mouse pointer with the setcursor command in freepie, but in doesn't pick up in the game, it does work in windows though.
So I you would have a command/button or idea how I can center the aiming when using mouse/keyboard controlls in fully possessed you would solve my problem.
I'm not at the end of wits yet, I have looked into a command sendinput which just could send mousecommands but I'm not a programmer, so I'm not sure if it would work
Hello, I am trying to aim with the psmove by basically using the psmove as a mouse pointer. It sounds quite basic but read on.
I have a script for it that works quite well, with psmoveservice, psmovebridge and then the script in freepie.
It uses the gyroscope so the obvious problem i'm having is that the gyroscope doesn't have any positional tracking so I lose calibration quite often, especially when I move around. I solve this by toggle button that activates and deactives the mouse emulation.
When I deactivate it I aim in the direction the gun is aiming at that time and then activate the emulation again. Still it is quite cumbersome since this method was originaly used to aim on a flat screen without changing position.
For vr this isn't the best method but then I thought when you aim at something you always look that way, you're not going to aim while just looking with your eyeballs, you're going to turn your head in the exact direction of the enemy, it's only the finer precision afterwards that you do with your eyeballs.
So I thought , if I could have a button that centers the crosshair/lasersight in the middle of my screen, this method could work quite well. The problem is that I cannot find a way to center the aim. I know how to center the mouse pointer with the setcursor command in freepie, but in doesn't pick up in the game, it does work in windows though.
So I you would have a command/button or idea how I can center the aiming when using mouse/keyboard controlls in fully possessed you would solve my problem.
I'm not at the end of wits yet, I have looked into a command sendinput which just could send mousecommands but I'm not a programmer, so I'm not sure if it would work