# VR Content Examples

**URL:** <https://forums.unrealengine.com/t/vr-content-examples/64140>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [May 18, 2016, 5:12am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140 "2016-05-18T05:12:30Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![tcla75](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tcla75](https://forums.unrealengine.com/u/tcla75)\
**Post date:** [July 5, 2016, 6:22pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/81 "2016-07-05T18:22:33Z")

</div>

Hey guys/ can anyone help me here. I’m trying to figure out the BP for the intractablebutton and how to trigger an event with a button press. In the demo room it releases objects but for the life of me I can’t see where that is in the code below.

 ![73f4a9e54c45be8a3a83272d865e717ec8191205.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/f/73f4a9e54c45be8a3a83272d865e717ec8191205.jpeg)  
 ![705a81135a2b7571f9a00d3bdc5e4c549aefba10.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/5/705a81135a2b7571f9a00d3bdc5e4c549aefba10.jpeg)  
 ![3483e91bdcd94bf17ed5ac013ba7b0075a1ef46d.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/4/8/3483e91bdcd94bf17ed5ac013ba7b0075a1ef46d.jpeg)

I’m guessing its in the worldinteractor BP but I can’t find it there either.

 ![d.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/5/b55f4ab7dbe040e51557ba75d2615aafae1d6b8c.jpeg)

Has anyone figured out how to use this BP? What node would I need to connect to if I wanted to say change a level?

---

<div class="post-metadata">

**Author:** ![n00854180t](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n00854180t](https://forums.unrealengine.com/u/n00854180t)\
**Post date:** [July 5, 2016, 11:16pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/82 "2016-07-05T23:16:39Z")

</div>

@ - Is it possible to get a 4.11 version of the project? I can’t seem to get any of the assets to show up in 4.11 when Migrating them.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 6, 2016, 8:01am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/83 "2016-07-06T08:01:17Z")

</div>

> [@ameygumaste;558886](#):
>
> Hey ,
> 
> I am unable to get the Motion Controller Trigger event (or any other button click event) to fire on the TraceInteractionPawn. I am able to teleport using the Trackpad Facebutton on the Vive Controller. But no other motion controller button event gets fired. Its weird because in the same level, I can use these button press events on the Blueprints that I have created. What could be the issue?
> 
> I am using HTC Vive on a archiviz project. Have also tried debugging using print string nodes but nothing happens. Thanks!
> 
> Also, hearty congrats on getting the Epic Dev Grant!!

I’m not sure exactly what the issue could be, I just updated the project wiki on how to use the Trace Interactor in a custom pawn maybe it could help  
[https://.com//VRContentExamples/wiki/Trace-Interaction-(Adding-it-to-your-own-project)](https://.com//VRContentExamples/wiki/Trace-Interaction-(Adding-it-to-your-own-project))

> [@redhead;559365](#):
>
> Hi ,
> 
> your Content Example stuff is just amazing, well deserved Dev Grants!
> 
> I have two questions.  
> The the teleport are dosen’t work within my scene, every time i bring in my mesh it dosen’t work anymore. Do i have to tell the teleport area blurpint something about my mesh, can’t find anything.  
> And how can i make my bluprints grabable from the wolrd interaction pawn. I know that i have to integrate the two interfaces Pickupable Interface and WorldInteractableInterface but it seems not enough.
> 
> thank you ! can’t wait to see your next stuff!

Hmm I’m not sure on the teleport area problem, are you migrating the entire blueprint? or just copying it from the explorer?  
As for the interaction I just added a bunch of tutorials on the wiki  
[https://.com//VRContentExamples/wiki/World-Interaction](https://.com//VRContentExamples/wiki/World-Interaction)

> [@tcla75;559602](#):
>
> Hey guys/ can anyone help me here. I’m trying to figure out the BP for the intractablebutton and how to trigger an event with a button press. In the demo room it releases objects but for the life of me I can’t see where that is in the code below.
> 
> I’m guessing its in the worldinteractor BP but I can’t find it there either.
> 
> Has anyone figured out how to use this BP? What node would I need to connect to if I wanted to say change a level?

What that call pressed event is in the first picture is a calling node for an Event Dispatcher, what they do is basically allow any other blueprint to listen for that event by binding to it and whenever pressed is called that object will know, check out the Level Blueprint for how I do it 🙂

> [@n00854180t;559732](#):
>
> @anonymous_user_b255ac231 - Is it possible to get a 4.11 version of the project? I can’t seem to get any of the assets to show up in 4.11 when Migrating them.

Umm, sorry, I’m pretty heavily using sequencer now for my examples so probably not the whole project. Are you using 4.11 for the oculus forward renderer? if so I guess you could wait for the epic version and until then maybe copy some of the functionality manually or use some of the older versions on that used 4.11

---

<div class="post-metadata">

**Author:** ![ameygumaste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ameygumaste](https://forums.unrealengine.com/u/ameygumaste)\
**Post date:** [July 6, 2016, 8:23am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/84 "2016-07-06T08:23:27Z")

</div>

> [@;559872](#):
>
> I’m not sure exactly what the issue could be, I just updated the project wiki on how to use the Trace Interactor in a custom pawn maybe it could help  
> [https://.com//VRContentExamples/wiki/Trace-Interaction-(Adding-it-to-your-own-project)](https://.com//VRContentExamples/wiki/Trace-Interaction-(Adding-it-to-your-own-project))

Hey thanks for the reply! I got the trace interaction and world interaction working in my level, but for this I had to delete all the trigger boxes that I used in my custom BP actors. Now I am trying to figure out what settings are to be made. The thing is I had used your Trace Interaction Pawn in a different project before with just the teleportation for one controller and a custom pick up and drop function for the other controller in the same pawn. It worked well. The problem started when I wanted to add both functionalities to the same controller.

I will keep working on it and will update in case it gets resolved. Thanks for sharing the wiki!

---

<div class="post-metadata">

**Author:** ![ameygumaste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ameygumaste](https://forums.unrealengine.com/u/ameygumaste)\
**Post date:** [July 6, 2016, 8:34am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/85 "2016-07-06T08:34:18Z")

</div>

> [@redhead;559365](#):
>
> Hi ,
> 
> your Content Example stuff is just amazing, well deserved Dev Grants!
> 
> I have two questions.  
> The the teleport are dosen’t work within my scene, every time i bring in my mesh it dosen’t work anymore. Do i have to tell the teleport area blurpint something about my mesh, can’t find anything.  
> And how can i make my bluprints grabable from the wolrd interaction pawn. I know that i have to integrate the two interfaces Pickupable Interface and WorldInteractableInterface but it seems not enough.
> 
> thank you ! can’t wait to see your next stuff!

Hey Redhead, I came across your issue through mitchmmc’s comments. I am not sure whether it is the same problem I had faced but check all your static meshes.  
In case if any of your static mesh collision cover the teleportation mesh, the trace will not take place.

What I mean is, you will need to either have custom collision meshes set for your scene objects or you’ll need to set ‘Collision Complexity’ to ‘Set complex collision as Simple’ in your static mesh settings. Also enable double sided geometry if needed.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b1896e8b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b1896e8b](https://forums.unrealengine.com/u/anonymous_user_b1896e8b)\
**Post date:** [July 7, 2016, 7:37am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/86 "2016-07-07T07:37:38Z")

</div>

> [@ameygumaste;559888](#):
>
> Hey Redhead, I came across your issue through mitchmmc’s comments. I am not sure whether it is the same problem I had faced but check all your static meshes.  
> In case if any of your static mesh collision cover the teleportation mesh, the trace will not take place.
> 
> What I mean is, you will need to either have custom collision meshes set for your scene objects or you’ll need to set ‘Collision Complexity’ to ‘Set complex collision as Simple’ in your static mesh settings. Also enable double sided geometry if needed.
> 
> Hope this helps!

Hi ameygumaste that was exactly my problem.  
I have an interior scene and i didn’t realized the collision. Thank you very mutch !

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b1896e8b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b1896e8b](https://forums.unrealengine.com/u/anonymous_user_b1896e8b)\
**Post date:** [July 7, 2016, 7:40am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/87 "2016-07-07T07:40:53Z")

</div>

> [@;559872](#):
>
> I’m not sure exactly what the issue could be, I just updated the project wiki on how to use the Trace Interactor in a custom pawn maybe it could help  
> [https://.com//VRContentExamples/wiki/Trace-Interaction-(Adding-it-to-your-own-project)](https://.com//VRContentExamples/wiki/Trace-Interaction-(Adding-it-to-your-own-project))
> 
> Hmm I’m not sure on the teleport area problem, are you migrating the entire blueprint? or just copying it from the explorer?  
> As for the interaction I just added a bunch of tutorials on the wiki  
> [https://.com//VRContentExamples/wiki/World-Interaction](https://.com//VRContentExamples/wiki/World-Interaction)
> 
> What that call pressed event is in the first picture is a calling node for an Event Dispatcher, what they do is basically allow any other blueprint to listen for that event by binding to it and whenever pressed is called that object will know, check out the Level Blueprint for how I do it 🙂
> 
> Umm, sorry, I’m pretty heavily using sequencer now for my examples so probably not the whole project. Are you using 4.11 for the oculus forward renderer? if so I guess you could wait for the epic version and until then maybe copy some of the functionality manually or use some of the older versions on that used 4.11

Thanks for the reply, didn’t realized that the collision of one of my meshes covered the teleportation mesh.

---

<div class="post-metadata">

**Author:** ![ameygumaste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ameygumaste](https://forums.unrealengine.com/u/ameygumaste)\
**Post date:** [July 7, 2016, 8:37am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/88 "2016-07-07T08:37:57Z")

</div>

> [@redhead;560467](#):
>
> Thanks for the reply, didn’t realized that the collision of one of my meshes covered the teleportation mesh.

Glad could be of help!

---

<div class="post-metadata">

**Author:** ![davidgulla](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@davidgulla](https://forums.unrealengine.com/u/davidgulla)\
**Post date:** [July 14, 2016, 4:10pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/89 "2016-07-14T16:10:10Z")

</div>

hi There,

when I start the scene I get plenty of errors

 ![errors.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/f/efae919b96f343128ee34382553fbc4408d30d3b.jpeg)  
when I ignore it and start there is no teleportation visible and the Vive\_pawn / settings contains just two variables: Base Stations Visibility and Camera Fadein/out

I’m using the last update 1.10.1

thanks!

David

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 17, 2016, 9:01am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/90 "2016-07-17T09:01:16Z")

</div>

> [@skyform;564627](#):
>
> hi There,
> 
> when I start the scene I get plenty of errors
> 
> ![errors.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/f/efae919b96f343128ee34382553fbc4408d30d3b.jpeg)  
> when I ignore it and start there is no teleportation visible and the Vive\_pawn / settings contains just two variables: Base Stations Visibility and Camera Fadein/out
> 
> I’m using the last update 1.10.1
> 
> thanks!
> 
> David

Hey David,

I think you’ve got the wrong project 😛

try this one [https://forums.unrealengine.com/showthread.php?106609-Steam-VR-Template](https://forums.unrealengine.com/showthread.php?106609-Steam-VR-Template)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b466deed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b466deed](https://forums.unrealengine.com/u/anonymous_user_b466deed)\
**Post date:** [July 18, 2016, 11:23pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/91 "2016-07-18T23:23:57Z")

</div>

Great Work. Really enjoying working with the Blueprints.

I am trying to adapt this so that when you pickup an item you leave a copy of it behind. Any ideas on how this might work would be much appreciated?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 20, 2016, 1:30am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/92 "2016-07-20T01:30:54Z")

</div>

> [@tomasmillar;566814](#):
>
> Great Work. Really enjoying working with the Blueprints.
> 
> I am trying to adapt this so that when you pickup an item you leave a copy of it behind. Any ideas on how this might work would be much appreciated?

Hmm, it really depends if your object has any instance variable (i.e. variables that are different than the default) if so you would need to implement a way to clone a blueprint (could just be a function inside the blueprint that creates a new instance of the class and sets all the needed variables) if you don’t have any instance variables simple spawning a new actor of the same class on pickup should work

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b466deed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b466deed](https://forums.unrealengine.com/u/anonymous_user_b466deed)\
**Post date:** [July 20, 2016, 10:20am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/93 "2016-07-20T10:20:35Z")

</div>

Thanks for the reply. I’m trying to spawn a Static mesh but having difficulties… Does it need to be part of a blueprint class to be able to spawn?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [July 20, 2016, 11:02am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/94 "2016-07-20T11:02:39Z")

</div>

> [@tomasmillar;567670](#):
>
> Thanks for the reply. I’m trying to spawn a Static mesh but having difficulties… Does it need to be part of a blueprint class to be able to spawn?

Yes and no, technically static meshes in the world are actually Static Mesh Actors so they are basically blueprints. If you want to spawn a static mesh you would spawn a static mesh actor and then set it’s static mesh property to the mesh you would like.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_108e793a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_108e793a](https://forums.unrealengine.com/u/anonymous_user_108e793a)\
**Post date:** [July 27, 2016, 7:11am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/95 "2016-07-27T07:11:17Z")

</div>

Hi , this is amazing and so informative! Thanks for that!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3cb603b2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3cb603b2](https://forums.unrealengine.com/u/anonymous_user_3cb603b2)\
**Post date:** [August 1, 2016, 10:28am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/97 "2016-08-01T10:28:21Z")

</div>

Hi all,

@

I’m trying to implement your simple teleportation method, but it’s somehow not working perfectly for me. The teleportation target appears to be “angled” from the true camera forward vector:

 ![afbc39006f45a8643dd14ba4ad5e3a70a1398c4e.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/b/afbc39006f45a8643dd14ba4ad5e3a70a1398c4e.jpeg)

Here you can see that the debug cylinder is positioned to the left from the center of the screen, where the camera is positioned marked with a cross.  
In my blueprint I have a event to identify if HMD is enabled, if not, increase the height of the camera by 160cm for example. This is so my game will work in both VR and regular PC.  
The rest is pretty standard, I followed your tutorials to the letter!

 ![1f0bbe67c191f809a51bdb0f992a30c7d5a17630.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/0/1f0bbe67c191f809a51bdb0f992a30c7d5a17630.jpeg)

Any thoughts would be much appreciated.  
Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [August 4, 2016, 3:29am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/98 "2016-08-04T03:29:47Z")

</div>

> [@tiago.delgrossi;573934](#):
>
> Hi all,
> 
> @anonymous_user_b255ac231
> 
> I’m trying to implement your simple teleportation method, but it’s somehow not working perfectly for me. The teleportation target appears to be “angled” from the true camera forward vector:
> 
> Here you can see that the debug cylinder is positioned to the left from the center of the screen, where the camera is positioned marked with a cross.  
> In my blueprint I have a event to identify if HMD is enabled, if not, increase the height of the camera by 160cm for example. This is so my game will work in both VR and regular PC.  
> The rest is pretty standard, I followed your tutorials to the letter!
> 
> Any thoughts would be much appreciated.  
> Cheers

Could you provide a picture of the actual trace function?

---

<div class="post-metadata">

**Author:** ![ameygumaste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ameygumaste](https://forums.unrealengine.com/u/ameygumaste)\
**Post date:** [August 7, 2016, 5:00am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/99 "2016-08-07T05:00:38Z")

</div>

Hey !

So I have been trying to use the Trace Interaction Pawn and the World Interaction Pawn. I came across something strange. When I use the Trace Interaction Pawn, all the world scale and dimensions look fine. But, when I use the World Interaction Pawn, everything seems normal when you walk up to things and try to gauge their dimensions physically. But when you move far from them, things appear small, miniaturized. The strange part is that, this does not happen with Trace Interaction Pawn.

Just something weird I came across, wanted to know whether anyone has come across anything similar.

Thanks!!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b255ac231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b255ac231](https://forums.unrealengine.com/u/anonymous_user_b255ac231)\
**Post date:** [August 7, 2016, 11:46am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/100 "2016-08-07T11:46:52Z")

</div>

Some cool things coming in the 4.13 version of the content examples version 🙂  
https://.com/watch?v=TVgd1UbYe4E

Oh and a lot of bug fixes as well, early version should be out in the next week 🙂

---

<div class="post-metadata">

**Author:** ![ameygumaste](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ameygumaste](https://forums.unrealengine.com/u/ameygumaste)\
**Post date:** [August 7, 2016, 11:50am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/101 "2016-08-07T11:50:41Z")

</div>

> [@;577163](#):
>
> Some cool things coming in the 4.13 version of the content examples version 🙂  
> https://.com/watch?v=TVgd1UbYe4E
> 
> Oh and a lot of bug fixes as well, early version should be out in the next week 🙂

Looking forward to its release! Thanks !!

[Previous page](https://forums.unrealengine.com/t/vr-content-examples/64140.md?page=4)

[Next page](https://forums.unrealengine.com/t/vr-content-examples/64140.md?page=6)
