Scaling in VR - How and why add options for player size

Subscribers:
337
Published on ● Video Link: https://www.youtube.com/watch?v=ztxO3Drxl9w



Duration: 13:33
6,770 views
36


I made this video to show how to possibly change the players size in relation to the players avatar in the game. Maybe a kid is playing the VR game, but is supposed to be a average height adult. When this happens you should add an option to change the scale of the VR rig. If you want to change the players scale in the game, you need to scale both the avatar and the VR rig. For supporting seated play, you might want to maybe adjust the VR rigs height scale, because otherwise the players arms effectively become longer.

Here is some source code for the project... it includes VRTK and SteamVR to ensure you dont have to find the exact versions I used. The project used Unity 2018.3.7 when I removed FinalIK and other stuff from it, but I do not think it would be a big problem to use it with older versions. It does not rely on the new prefabs and such. It will need you to install FinalIK to it to have it fully working as in this video or it will be missing scripts and assets. Just open the scene AvatarTest after installing FinalIK and it should be ready. There might be a problem with scaling the avatar for some reason, I have not had time to fix that.
first Avatar Test scene in the _MyStuff/scenes folder
http://dionysus.dk/devstuff/unity3d/A...

For this recording I was using the Oculus Rift headset and Touch controllers with a 4 sensor setup. I am using a Regolit map from IKEA for having the headset cords come from above so you dont step on it.
My computer is an i7 6700k, RTX 2080Ti and 16gb DDR4 RAM desktop PC. I used OBS Studio to record this with. Using a Logitech 720p webcam for the camera.







Tags:
VR
Steam
SteamVR
OBS Studio
Oculus
Rift
Oculus Rift
Touch
Touch controllers
3 sensors
room scale
360 VR
Final IK
VRTK
Unity
VRIK
Game Development