I’d like to have a VR turning system option where if the player moves one motion controller forward and the other back the player’s vehicle turns one way, and vice versa. There is nothing like that under the input options and I am unsure how to do it otherwise.
Hi, you would have to implement it on your own (get the position of the motion controllers and do the logic from there).
Also if you get the position of the motion controllers on tick and subtract the current position from the last position and divide that by the frame time you would get the velocity of your motion controller.
Basically what I would do in your setup is:
Get the distance of both the motion controllers to your HMD (the position of your HMD should be the position of your active camera), lets call them distance_L and distance_R for the left respectively right motion controller.
Compare both distances, if the difference between both distances is big enough continue (I assume you would want a tolerance before starting to steer). So absolute(distance_L - distance_R) > threshold
If the distance from your left motion controller is bigger than from your right one, steer in one direction and vice versa.
Optional: Set the steering strength depending on the difference between the two distances of your motion controllers. absolute(distance_L - distance_R)