# 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:** 2

<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:** [May 26, 2016, 4:11pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/21 "2016-05-26T16:11:51Z")

</div>

Sorry, not Thumbpad 1 but FaceButton 1

> [@ameygumaste;536583](#):
>
> Hello ,
> 
> I am really grateful to you for sharing this template. It has helped me a lot to move ahead in my projects.  
> There is a specific change that I need to make in the blueprint which is a requirement for my project. I want the teleportation tracer appear only when I press the Thumbpad 1 on my controller. I should be able to teleport when I release the key. Moreover the tracer target and trajectory should appear only when I press the key and disappear when I teleport. I have tried different approaches on my end, but it did not work. I am a novice in UE4 development and blueprints. I would really appreciate it if you could suggest a quick fix for this.
> 
> Thanks a lot!

---

<div class="post-metadata">

**Author:** ![C4SNLLC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@C4SNLLC](https://forums.unrealengine.com/u/C4SNLLC)\
**Post date:** [May 26, 2016, 8:16pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/22 "2016-05-26T20:16:56Z")

</div>

> [@;535053](#):
>
> The Trace Interaction Level supports the Vive natively, if you’re talking about the intro to steam VR level I’m working on it 🙂

,

Have you had any problems with a crash when launching the trace interaction level? I have noticed that UE4 seems to be crashing with a TeleportChaperoneBounds error on either the TeleportArea or TeleportBounds actor. I seems to work as long as I play first from the default level, then change levels and goto the Trace Interaction level. After that it works indefinitely until I shutdown SteamVR then it has the problem again. Drove me crazy for a while to figure out what was going on but still can’t exactly figure out how to make it work without this workaround.

Thanks,

---

<div class="post-metadata">

**Author:** ![Imsopov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Imsopov](https://forums.unrealengine.com/u/Imsopov)\
**Post date:** [May 26, 2016, 10:10pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/23 "2016-05-26T22:10:11Z")

</div>

> [@C4;536727](#):
>
> ,
> 
> Have you had any problems with a crash when launching the trace interaction level? I have noticed that UE4 seems to be crashing with a TeleportChaperoneBounds error on either the TeleportArea or TeleportBounds actor. I seems to work as long as I play first from the default level, then change levels and goto the Trace Interaction level. After that it works indefinitely until I shutdown SteamVR then it has the problem again. Drove me crazy for a while to figure out what was going on but still can’t exactly figure out how to make it work without this workaround.
> 
> Thanks,

I got this crash also, it only happens on that one map

---

<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:** [May 27, 2016, 10:33am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/24 "2016-05-27T10:33:08Z")

</div>

> [@](#):
>
> Very cool examples, but i want to know how to call a “real” button event, like on Clicked, on Hover and so on.  
> i saw you “Set members in ButtonStyle” to change the button state.  
> if ui designer make a lot of button states, how can i use those ?

I’m not too sure what you mean by a real button event, currently I believe there are no good ways to do this with official UMG widgets and blueprints only. But my buttons should act just like normal buttons as in they have delegate methods for all the onClicked, OnHovered etc. that UMG buttons have

> [@](#):
>
> great work - we are adding to this, do you mind if we share it here on this post?

Sure, just make sure to make a pull request on

> [@](#):
>
> Have you seen the SteamVR Template project?
> 
> https://.com/ProteusVR/SteamVR-Template

I have, I actually contributed to it in the early stages, I haven’t had a look in a little bit though so I’ll check out the latest version

---

<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:** [May 27, 2016, 10:35am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/25 "2016-05-27T10:35:21Z")

</div>

> [@C4;536727](#):
>
> ,
> 
> Have you had any problems with a crash when launching the trace interaction level? I have noticed that UE4 seems to be crashing with a TeleportChaperoneBounds error on either the TeleportArea or TeleportBounds actor. I seems to work as long as I play first from the default level, then change levels and goto the Trace Interaction level. After that it works indefinitely until I shutdown SteamVR then it has the problem again. Drove me crazy for a while to figure out what was going on but still can’t exactly figure out how to make it work without this workaround.
> 
> Thanks,

> [@Imsopov;536762](#):
>
> I got this crash also, it only happens on that one map

Very odd, it sounds like it has something to do with Ue4’s chaperone component, I’ll do some testing to see if I can replicate it on my end

Edit Ok, I don’t believe it’s the chaperone component, I wasn’t able to reproduce the bug however I just pushed a new build to fixing an instance mesh shadow bug that may help

---

<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:** [May 27, 2016, 2:01pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/26 "2016-05-27T14:01:54Z")

</div>

> [@ameygumaste;536583](#):
>
> Hello ,
> 
> I am really grateful to you for sharing this template. It has helped me a lot to move ahead in my projects.  
> There is a specific change that I need to make in the blueprint which is a requirement for my project. I want the teleportation tracer appear only when I press the Thumbpad 1 on my controller. I should be able to teleport when I release the key. Moreover the tracer target and trajectory should appear only when I press the key and disappear when I teleport. I have tried different approaches on my end, but it did not work. I am a novice in UE4 development and blueprints. I would really appreciate it if you could suggest a quick fix for this.
> 
> Thanks a lot!

Sure here’s how to do it

First move this if statement before the trace logic so we don’t trace when we don’t have to

 ![01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/9/159e3feab4ab3e8ea3b5a81a2f17ccb161c2577f.png)

Next create a sequence node and attach it to the button up as well as both the trace down and trace up

 ![02.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/7/c877009b8f751dcde8821e71338df8beaab9fd54.png)

Next add a new pin to the sequence  
on the button down show the trace visualiser  
then call trace leave on the focused object  
then reset the focused object  
and finally hide the trace visualiser

 ![03.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/e/66e95f8206043ff98d3090dd8fbbb60a940dd1c1.png)

Lastly add these doOnce nodes to the motion controller detection

 ![04.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/d/d5d6ce7461b9bcd0158037273536c9c26ba553d1.png)

If you want I just updated the master with the changes pretty much made for you 🙂

---

<div class="post-metadata">

**Author:** ![Anonymous\_b8cfcf5091de8f891c6c97f12c3a217c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_b8cfcf5091de8f891c6c97f12c3a217c](https://forums.unrealengine.com/u/Anonymous_b8cfcf5091de8f891c6c97f12c3a217c)\
**Post date:** [May 27, 2016, 8:43pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/27 "2016-05-27T20:43:12Z")

</div>

great work  
thx alot

I’m trying to make longbow work  
but:(

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_198b0eb4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_198b0eb4](https://forums.unrealengine.com/u/anonymous_user_198b0eb4)\
**Post date:** [May 27, 2016, 11:04pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/28 "2016-05-27T23:04:08Z")

</div>

> [@;537065](#):
>
> Sure here’s how to do it
> 
> First move this if statement before the trace logic so we don’t trace when we don’t have to
> 
> Next create a sequence node and attach it to the button up as well as both the trace down and trace up
> 
> Next add a new pin to the sequence  
> on the button down show the trace visualiser  
> then call trace leave on the focused object  
> then reset the focused object  
> and finally hide the trace visualiser
> 
> Lastly add these doOnce nodes to the motion controller detection
> 
> If you want I just updated the master with the changes pretty much made for you 🙂

Am I the only one who is not able to see these attachments?

---

<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:** [May 28, 2016, 2:14am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/29 "2016-05-28T02:14:02Z")

</div>

> [@Tír na nÓg Games;537312](#):
>
> Am I the only one who is not able to see these attachments?

Weird, I think the forum deleted them, should be fixed now

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3690b88b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3690b88b](https://forums.unrealengine.com/u/anonymous_user_3690b88b)\
**Post date:** [May 28, 2016, 4:03am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/30 "2016-05-28T04:03:46Z")

</div>

Hey , thank you for this, it’s really helpful. This probably has a simple answer, but I’ve been poring over the VR\_Trace\_Interaction example the past few days and I can’t seem to work out how you have rendered the circle “crosshair” to the center of the viewport, can you please tell me how you’ve done that?

---

<div class="post-metadata">

**Author:** ![Andrewcoja](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrewcoja](https://forums.unrealengine.com/u/Andrewcoja)\
**Post date:** [May 28, 2016, 9:22pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/31 "2016-05-28T21:22:05Z")

</div>

Are you going to be making videos going over how each thing works or is it just a “take these blueprints and figure it out” sort of deal? I’ll work my way through the menu thing eventually but it would be nice to get some insight as to why you are doing certain things so I can decide what I want to use and what I don’t need.

---

<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:** [May 28, 2016, 10:42pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/32 "2016-05-28T22:42:56Z")

</div>

> [@dmhwtn;537419](#):
>
> Hey , thank you for this, it’s really helpful. This probably has a simple answer, but I’ve been poring over the VR\_Trace\_Interaction example the past few days and I can’t seem to work out how you have rendered the circle “crosshair” to the center of the viewport, can you please tell me how you’ve done that?

Sure, in the Pawn there is a 3D widget as a child of the camera, if you click on it you can see the widget with the circle

> [@Andrewcoja;537742](#):
>
> Are you going to be making videos going over how each thing works or is it just a “take these blueprints and figure it out” sort of deal? I’ll work my way through the menu thing eventually but it would be nice to get some insight as to why you are doing certain things so I can decide what I want to use and what I don’t need.

Yeah, I’m definitely going to be making videos covering it, the last couple of weeks I’ve had a pretty hectic workload but hopefully that’ll die down a bit over the next couple of weeks and I can start making videos again

---

<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:** [May 29, 2016, 11:42am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/33 "2016-05-29T11:42:50Z")

</div>

> [@;537065](#):
>
> Sure here’s how to do it
> 
> First move this if statement before the trace logic so we don’t trace when we don’t have to
> 
> ![01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/9/159e3feab4ab3e8ea3b5a81a2f17ccb161c2577f.png)
> 
> Next create a sequence node and attach it to the button up as well as both the trace down and trace up
> 
> ![02.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/7/c877009b8f751dcde8821e71338df8beaab9fd54.png)
> 
> Next add a new pin to the sequence  
> on the button down show the trace visualiser  
> then call trace leave on the focused object  
> then reset the focused object  
> and finally hide the trace visualiser
> 
> ![03.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/e/66e95f8206043ff98d3090dd8fbbb60a940dd1c1.png)
> 
> Lastly add these doOnce nodes to the motion controller detection
> 
> ![04.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/d/d5d6ce7461b9bcd0158037273536c9c26ba553d1.png)
> 
> If you want I just updated the master with the changes pretty much made for you 🙂

Hey !

Thanks a lot! Eternally grateful to you Sir. Will check it out. Thanks again. 🙂

---

<div class="post-metadata">

**Author:** ![Anonymous\_b8cfcf5091de8f891c6c97f12c3a217c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_b8cfcf5091de8f891c6c97f12c3a217c](https://forums.unrealengine.com/u/Anonymous_b8cfcf5091de8f891c6c97f12c3a217c)\
**Post date:** [May 29, 2016, 2:18pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/34 "2016-05-29T14:18:35Z")

</div>

HI ,THANKS FOR SHARE THIS!  
YOU ARE MY HERO!  
but  
I got some problem ☹  
When I open new level in VR Content Examples  
and set a game mode with the TraceinteractionPawn.

see the pic here

The traceliser and area line have two different loctaions in every eye.  
only the teleport point is ok.

but in your Content Examples levels everything is ok!

---

<div class="post-metadata">

**Author:** ![C4SNLLC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@C4SNLLC](https://forums.unrealengine.com/u/C4SNLLC)\
**Post date:** [May 29, 2016, 9:07pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/35 "2016-05-29T21:07:21Z")

</div>

> [@;536984](#):
>
> Very odd, it sounds like it has something to do with Ue4’s chaperone component, I’ll do some testing to see if I can replicate it on my end
> 
> Edit Ok, I don’t believe it’s the chaperone component, I wasn’t able to reproduce the bug however I just pushed a new build to fixing an instance mesh shadow bug that may help

I believe you are right. Sometimes is would also crash on shadow issue. And sometimes at a teleport bounds. But the fix remained the same for both. I bet that shadow bug got it. Will test later today. Thanks!

---

<div class="post-metadata">

**Author:** ![C4SNLLC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@C4SNLLC](https://forums.unrealengine.com/u/C4SNLLC)\
**Post date:** [May 29, 2016, 9:10pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/36 "2016-05-29T21:10:07Z")

</div>

> [@富贵儿;537971](#):
>
> HI ,THANKS FOR SHARE THIS!  
> YOU ARE MY HERO!  
> but  
> I got some problem ☹  
> When I open new level in VR Content Examples  
> and set a game mode with the TraceinteractionPawn.
> 
> see the pic here
> 
> The traceliser and area line have two different loctaions in every eye.  
> only the teleport point is ok.
> 
> but in your Content Examples levels everything is ok!

I also had this issue pop up in one of my projects out of nowhere. I just redid the project and added back in all my assets and it went away. Even cleared all the folders first and rebuilt. I feel like this has to be more of a UE4/Vive(In my case) issue.

---

<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:** [May 30, 2016, 8:34am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/37 "2016-05-30T08:34:03Z")

</div>

Hey guys, for those of you wanting documentation, I’ve been working on the [wiki](https://.com//VRContentExamples/wiki). It’s still a work in progress but I’ll be adding to it over time

---

<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:** [May 30, 2016, 11:48am UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/38 "2016-05-30T11:48:40Z")

</div>

Sweet this will be a huge help.

---

<div class="post-metadata">

**Author:** ![Anonymous\_b8cfcf5091de8f891c6c97f12c3a217c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_b8cfcf5091de8f891c6c97f12c3a217c](https://forums.unrealengine.com/u/Anonymous_b8cfcf5091de8f891c6c97f12c3a217c)\
**Post date:** [May 30, 2016, 4:37pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/39 "2016-05-30T16:37:06Z")

</div>

> [@;538333](#):
>
> Hey guys, for those of you wanting documentation, I’ve been working on the [wiki](https://.com//VRContentExamples/wiki). It’s still a work in progress but I’ll be adding to it over time

hi ，I create a new level to test the Trace Interaction，but in HMD they have different locations in left eye and right eye.I don’t know why ，in your Content Examples level.My device is steam vr.

---

<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:** [May 30, 2016, 11:13pm UTC](https://forums.unrealengine.com/t/vr-content-examples/64140/40 "2016-05-30T23:13:57Z")

</div>

Hi when I set teleportarea hidden in game it also hides the teleport trace and I can’t see where I am teleporting to. So how can I turn on the trace and leave the teleport area hidden in game?

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

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