I implemented an input control with the xbox one gamepad using the right thumbstick as a “snap” turn (in 30 degree increments).
This was using “Gamepad Right Thumbsick Right” and “Gamepad Left Thumbstick Left”
So, for the Oculus Touch I tried to implement “Motioncontroller (R) Thumbstick Right” and “Motioncontroller (L) Thumbstick Left”.
However, this did not work. In fact I cannot get the thumbstick to do anything but Axis mappings (no Action mappings seem to work).
Is this by design? Is the Motioncontroller Thumbstick on the Oculus Touch only an axis mapped control?
I was also planning to use the “up” and “down” for weapon switching, but I cannot do that either.
Anyone have any ideas? I am using UE 4.14.
(P.S. I have the Vive controllers working, so I know my motion controller setup is OK).
I think I am trying to figure out the same thing. I just got my Oculus Touch controllers yesterday and can’t figure out how to map the joysticks. I want to be able to use the 2 joysticks just like the Xbox one gamepad to move around instead of using the “teleport” movement but can’t seem to figure out. It sounds like that is similar to what you are trying.
Moving around is fine for me (using axis mappings… have a look at the first person template for examples).
Its just that I can’t seem to map action mappings to the thumbstick.
Just wondering if this is by design or not implemented…
Are the following not currently implemented or working for Oculus Touch as action mappings (as of 4.14)?
MotionController (L) Thumbstick Left
MotionController (L) Thumbstick Right
MotionController (L) Thumbstick Up
MotionController (L) Thumbstick Down
MotionController (R) Thumbstick Left
MotionController (R) Thumbstick Right
MotionController (R) Thumbstick Up
MotionController (R) Thumbstick Down
Is there any way at all to make the thumbsticks on oculus touch work like a gamepad thumbstick… you know… like … “motioncontroller (R) thumbstick right” and “motioncontroller (R) thumbstick left” and “motioncontroller (L) thumbstick right” and “motioncontroller (L) thumbstick left” and “motioncontroller (L) thumbstick up” and “motioncontroller (L) thumbstick down” and “motioncontroller (R) thumbstick up” and “motioncontroller (R) thumbstick down”…
I do not want to use the meager selection of touch buttons to do snap turns… I’d rather reserve those mappings for something else.
Yes there is. You can easily turn an axis control into an action-like control just by checking whether its output value, which is mapped to the -1.0 → 1.0 range is, say, > 0.5 (for right or down) or < -0.5 (for left or up). Make the threshold level variable so you can adjust it as needed, but 0.5 means the stick has been moved half a way or more, so it should do the job.
I just implemented something similar to discretely control an up/down movement and it works exactly as an action. If you like you can also create your own custom input event with this logic and trigger them as needed.