No announcement yet.

First VR project - questions and doubts

  • Filter
  • Time
  • Show
Clear All
new posts

    [VIVE] First VR project - questions and doubts

    Hi everyone,

    just to give a little bit of context. I am have been using Unreal 4 for Architectural Visualizations and recently I was asked to play with VR. Now, when I picked the project, someone already used the VR template and imported all the 3d models to the HMDLocomotionMap. After this I started optimizing the scene, clean materials, creating collisions etc. Then, I was asked if was possible to instead of teleport to glide. Following a tutorial I created the:
    Click image for larger version

Views:	32
Size:	97.9 KB
ID:	1410179

    And then to glide I created the VR_PAWN
    Click image for larger version

Name:	VR_P1.JPG
Views:	14
Size:	112.0 KB
ID:	1410180

    And the blueprint
    Click image for larger version

Name:	VR_P2.JPG
Views:	14
Size:	387.1 KB
ID:	1410181

    And this works quite well. I use my finger on the motion controller to glide around the house. Now, there are two things I was asked to do, that I am not entirely sure how to do it.

    Picking objects - I had a look at the VR Template to see how the MotionControllerMap works. But I will be honest, I am lost. Could anyone point me in the right direction?

    Change Objects Materials - I can understand the concept, but is it possible to use the motion controller to point or touch an object to change the material?

    I have been looking at tutorials to see if something can help me, but as I am not using the standard VR Template, I am afraid to break the scene.

    Check out the following document for more information on how to set up picking up and dropping objects with the Motion Controllers.


      I just released a YouTube tutorial about ArchViz thumbstick locomotion (what you call gliding) which is easy to implement starting from the standard VR template. The advantage of this method is that you can still use the template's VR hands to pick up/drop objects. You may want to check it out here:

      To make new objects you can pickup/drop, simply duplicate the BP_PickupCube blueprint in the template, rename it to whatever object it should become (e.g. BP_PickupBottle), then replace the StaticMeshComponent inside it with a reference to the new object mesh (in this example it will be a Bottle mesh). Finally place the BP in the level. This is pretty much all it takes.

      Changing materials for an object is a bit more complicated. You need a way to point/select an object, activate it, then select the new material to apply. There are few tutorials on YouTube which could be useful, like this one:

      Hope this helps!
      CTO | Head of VR Development - Visit us at
      My UE4 Tutorials (mostly VR):


        Thank you so much for your replies. I actually tried to use this video

        I still need to double check the blueprint and some of the objects. But I will have a look at the document and your video vr_marco.
        The process is a little bit slow as I have to create the blueprint on my pc, save to a usb, go to the VR room and try the headset.