Installation
Just download the Head Mounted VR plugin from Epic Games Laucher and install it to the project. Then enable it in plugins.
Head Mounted VR includes
free demo which you can try before buing the plugin and give the feadback on our discord server. Demo level is located at content folder Content/Demo/Maps/Map_0.
Here we can adjust some parametrs and choose
AVR_Hands class which we want to use.
Here we need to choose our hand mesh(For FakeHandMesh and RealHandMesh. Fake one does not have a collision and can be used in the main menu) and an animation blueprint to make it work. To set up your own animation blueprint look at existing blueprint there you can find basic setup. Also do not forget to setup line traces for IK, grab box, grab direction etc. Look at the existing demo blueprints.
At the demo folder we can find robatic hand skeletal and physics assets. Use them as the references for your own hands. Bone names must be the same and ^fingername^_c_ sockets must be created. They are used for fixing finger collision.
Developer need to specify input for VR controllers. Input configuration from demo can be downloaded
here.
Create blueprint from
AVR_HandInventory class as we did before.
Here we can adjust some variables.
AVR_StaticMesh is an object which player can pick up using one of grab methods (enum EGrabMethod)