Hi everyone,
I’m trying to make a game where you need to walk in VR on a plank between two buildings.
There is a IRL plank which is exactly the same dimensions as the one in UNITY. (3.5m long, 15cm wide and 3 cm height)
The idea, you understood, is to walk on the plank without falling. I’ve put the two vive controller attached on the foot so that the player see his own foot in the game.
Now I need to make condition for falling and that’s where it’s tricky.
So I think it should go like this :
- If the player as one foot over the empty space but above the plank = Not falling
- If the player as one foot over the empty space but under the plank (so basically when the player touch the ground) = Falling
- The headset shouldn’t do anything here
- If the player has two foot on plank = Not falling
- If the player has two foot overt the empty space = Falling
Do you think this is correct and enough? And if it is, how would you replace the headset position that makes you fall by the two Vive controller ?
Thanks a lot,