Home Creators Posts Import Register Favorites Logout

Content

UPDATE, V2

Vive & Valve index now working! Sorry for the last version, my SteamVR was REALLY old and it worked with this scene. If you had never version, it didn't.  What you MUST do is to update SteamVR to the latest version!

I had to put back the steamVR, as UnityXR doesn't support everything. The text info works now only with Oculus, so you can forget about it, I now know all buttons.

Vive, Index=move with left joystick.

Vive=tunnel vision with right grip

Index=tunnel vision with right trigger & that sinked buttonish thingy, what ever it name is.

Should both joysticks control the movement? 

Do we need Leap support?

Again, apologies for the hassle! Same dl link.

Jari

Sorry for the double post, I didn't check the build, only the editor version.

Let's tackle this asap and get back to the game. This is the core of the experience, so it better work perfectly!

I rewrote the whole controller system movement for VR. Not bad, took 2 days. Also binned Unity default 2D rig and made that to obey this system.

If you run non-vr, don't bother to download.

The default controls: left thumb wheel-move and rotate.

Right grip- toggle movement nausea tunnel vision

Right thumb wheel- offset your height

What I need from you:

-If you can't move, look what button you pressed, write it down and send me the buttons required for your device.

-The default rotation is fixed to 30 degrees, speed is but rubbery; starts with slow acceleration. If you stop and continue moving, it's not that rubbery. there is a counter slowing it down. Longer you wait, slower you start moving again. Opinions?

-What's your best height?

-tunnel vision, as default or an option in game?

-height - fixed or adjustable in game?

-30 deg rotation ok?

I'll improve this when you guys give me feedback. Please note you can also sit down and use keyboard wasd to move.

for the kb; 

z-toggle tunnel

e and d adjust height.

For the Valve index I haven't yet found the mapping, looking for it...

Again, sorry for the hassle, figured out my scripts must go before any VR gets initialized. In editor, it doesn't matter, but build...yep!  

DOWNLOAD 

Files

Comments

Hiro P

I'm afraid but this seems to be far more complicated then I firstly thought. First: Valve Index or OpenVR/SteamVR has a native and a legacy mode. Which one to choose? Second: the index controlers do not only recognize keypresses or joystick movements but also have a capacitive touch recognition for each and every control element. third: in legacy mode one can totally (re-)map all key bindings. But whatever I tried, I was not able to move in your rigtest. Really frustrating.

Citor3

and this is why your input is needed! press the key which should take you forward/backwards and rotate sideways. Look what you pressed (big text). if those are touch ones, this is what I explained; I haven't figured out yet how to show those ones as well. Working on it. I'm mapping everything to Unity native keybinds.

Creamgeist (edited)

Comment edits

2026-09-25 09:00 None of the buttons on Oculus do anything other than the control sticks (movement and height adjust) and the tunnel vision toggle right trigger. Optimal height setting for me is 0.7. Personally I think the movement speed rubber banding is too slow. A bit faster acceleration would be nice.
2020-02-12 00:55

Citor3

thx for the feedback! Buttons don't have any meaning here as we focus on moving. You can see which button you pressed with the big text. I know Oculus and Vive ok, but not any other VR controllers, this is why I need to get the mapping from you guys!

Citor3

Valve index ordered.

Hiro P

Should I test in native Valve Index or legacy mode? The difficulty is that before any Key is pressed it must be touched (obviously). I'm not sure whether the last key pressed you detect is the right one. But anyway I try to provide data asap

Citor3

I got information about the Index controllers last night; there is no native Unity support it, so I have to go with the Steam VR and build the keybindings. This is why it wasn't working with this test.

Hiro P

A good decision I can really recommend it :-)

Citor3

Ok, I rewrote the whole OpenVR support for us. Just played with the Vive, the buttons for this scene are working now. I also mapped the Index controllers, waiting for testing them (fingers not yet). I had to update EVERYTHING; Steam, SteamVR & Steam Unity plugin before I got it to work.

Hiro P

Can't wait to test your new build

Citor3

just dowload it, read the main post for moving info!

Hiro P

I was in Steam Beta and SteamVR Beta and it didn't work. Than I left beta for both -> still didn't work and finally after going back to beta in both I was able to move with left stick. Hurray

AVG

On this test when using WMR, the buttons did not work except for rotation. Earlier, WMR worked without errors in versions for Vive

Citor3

So Windows MR is NOT working now? I'd need 2 things; what is the device name it gets recognized? does pressing buttons or moving sliders change any text values? If you can rotate, you should be able to move. With OpenVR only button mapped is the right grip, rest not mapped yet, I need to do it one by one per device.

AVG

The value of the buttons did not change, and the rotation was due to the rotation of the head

AVG

Samsung Odyssey plus

Citor3

Did the first version work ok? What is the device name in that text?

AVG

Both tests didn't work, but all versions worked monthly for Vive and the Amoreon game, too

K

Have an Index - would suggest the following: 1) Left joystick controls forward/turn left &a1mp; right - add in an option for smooth turn vs jump as the jump imho breaks immersion 2) Right joystick controls height 3) I've seen some games implement a 'grip = grab world and move freestyle' option, works really well so perhaps something to consider .. left grip = recenter view, right grip = grab world. (as a min i'd add in the recentre/reset option) Suggest to hide the 'tunnel vision vs normal vision' and 'smooth vs jump rotate' in an options screen, will free up triggers for interaction.. plus my experience is that once these options are set for a particular user they don't really tend to get changed.. (especially in a single user non party game like FD2 ;) ) Touchpads on index controllers are great but pretty sensitive, think you'd end up with a lot of jumping around if using them for controls Alternatively have it so that the joystick direction controls where the user is moving - games like dead effect have this and it works pretty well.. Happy to provide more info if needed - great work on the current setup btw :)