Plugin

[=Rednalreden;104956]
Great work on the plugin updates ! Love the input mapping support.

Unfortunately I’m getting some strange results on the Pitch values on both hydra controllers, while Yaw and Roll are working as expected. I’m using blueprints to get the values and print them to the screen.
When I turn the hydra 90 degrees on the Yaw and the Roll it translates in a 0.5f change, when its turned 180 degrees a 1f change, as far as I can judge, is correct and expected behaviour.
The Pitch is a whole other story, when I hold it flat it returns value 0 as expected, but when I turn it the values seem to go up to ~0.8f after a 90 degrees turn and returns to 0 at the 210 degrees mark, after that it turns negative but the negative part turns in the last 150 degrees.

Is something I might be doing wrong or is the input not correctly mapped? And does anyone else has problem?
[/]

appears correct. You have to remember that Yaw/Roll is -180-180 degrees and pitch is -90-90 degrees. These are obtained from the raw quaternions that the hydra spits out and converted then scaled to -1-1 for input mapping for each axis.

Watch gif, in it I start off with undocking the hydra and drawing a debug box, then I rotate it around Yaw, then Roll, and finally Pitch, that time all the way through.

Raw Hydra Rotations Gif

You should notice that when the pitch passes being pointed straight up, the yaw and roll change to maintain a correct vector direction and the pitch approaches, but never truly hits 90degrees. From the game perspective it is giving you the correct vector direction and your rotations will work as seen by the box being able to pass that point correctly.