Change world to meters scale at runtime + VR hands
For a project I'm working on, I need to change the world to meters scale at runtime to give the player the impression to shrink. The problem I'm facing is that when using the UE4 MotionControllerPawn with hands, the hands will be high above the player if I lower the world to meters scale - value from 100 to 20.
Does anyone know of a way to update the hand tracking position according to the current world to meters scale?
Best regards Battlepad
asked Apr 24 '17 at 03:16 PM in VR
I did a project once where the VR pawn could shrink or grow. One thing I had to do to make it work was to scale the controllers accordingly. I dont know if this changed in a newer engine version but my setup at the time looked like this:
I my case that worked fine. Now in the VR template the motion controller components are in the motion controller blueprints that get spawned in on begin play. My motion controller components were in the pawn itself which might be one thing to consider:
Depending an how small you are planing to go, you should also adjust the near clipping plane since your hands will be so close to the camera that they will not render. The default in the general Project settings is set to 10. I my lowest "world to meters" was 5 and i had to set the clipping plane to 0.1
Let me know if this was any help
Same situation, would like a little help on this.
answered Apr 25 '17 at 11:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here