# VR Expansion Plugin

**URL:** <https://forums.unrealengine.com/t/vr-expansion-plugin/68709>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [July 11, 2016, 6:16pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709 "2016-07-11T18:16:57Z")\
**Posts on this page:** 20\
**Page:** 52

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 27, 2017, 12:18pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1042 "2017-04-27T12:18:15Z")

</div>

> [@Jomax3d;700523](#):
>
> Dear
> 
> Is the physics constraint on the drawer and the door same. How can i make the drawer close by itself when pushed , like you have on the door…
> 
> regards  
> J

The physics drawer stops simulating on release, on the component check (bSimulateOnRelease) in the grip interface properties and it will do what you are looking for (stay simulating / moving). In the door I have it start a sequence on release that checks every now and then for the doors rotational velocity to approach zero and then unsimulates it. You can repurpose that for the drawer to check the relative X velocity instead and do the same.

For the non physics drawers you can also copy the OnGripReleased code from the door that turns the simulation off and re-purpose it to close the drawers (or whatever else you want) like you would a standard 2D door/drawer.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 28, 2017, 2:46am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1044 "2017-04-28T02:46:27Z")

</div>

Launch the character a bit and set it to falling, add impulse will work as expected for you, but you can simulate it in flying mode if you want with manual input.

Also use the Parent Relative Attachment for hip placement, attach it to the camera, it provides a yaw only rotation base for chest / hip tracking.

---

<div class="post-metadata">

**Author:** ![gozu](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gozu/32/869945_2.png) [@gozu](https://forums.unrealengine.com/u/gozu)\
**Post date:** [April 28, 2017, 2:48am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1045 "2017-04-28T02:48:34Z")

</div>

> [@;700956](#):
>
> Sorry to jump in in between questions.  
> Also, any idea how in Robo Recall they got the guns to always be situated near the players hip? I can’t figure it out. The VRPawn there doesn’t seem to have any scene components at the hip or back for the guns to attach to.

A lot of really is off topic for the thread…  
Roborecall has an actor for the holster that gets attached on spawn. I think if you look at the tick there might be something referencing it… All the logic for that stuff is in the holster, and the weapon bp’s…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_650f1d25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_650f1d25](https://forums.unrealengine.com/u/anonymous_user_650f1d25)\
**Post date:** [April 28, 2017, 3:45am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1046 "2017-04-28T03:45:03Z")

</div>

> [@](#):
>
> A lot of really is off topic for the thread…  
> Roborecall has an actor for the holster that gets attached on spawn. I think if you look at the tick there might be something referencing it… All the logic for that stuff is in the holster, and the weapon bp’s…

Yeah, you’re right. Sorry, but thanks for the info. Fwiw, I’ve been on roborecall forums ([roborecall.org](http://roborecall.org), roborecall mods, ) over the past month and a half, with questions (and _answers_ to some stuff). Sadly, they’re all pretty dead.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_650f1d25](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_650f1d25](https://forums.unrealengine.com/u/anonymous_user_650f1d25)\
**Post date:** [April 28, 2017, 3:47am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1047 "2017-04-28T03:47:10Z")

</div>

> [@;700962](#):
>
> Launch the character a bit and set it to falling, add impulse will work as expected for you, but you can simulate it in flying mode if you want with manual input.
> 
> Also use the Parent Relative Attachment for hip placement, attach it to the camera, it provides a yaw only rotation base for chest / hip tracking.

Got it. Thanks, as always. Apologies for dirtying the thread.

---

<div class="post-metadata">

**Author:** ![MagusShade](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MagusShade](https://forums.unrealengine.com/u/MagusShade)\
**Post date:** [April 28, 2017, 5:03pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1048 "2017-04-28T17:03:24Z")

</div>

> [@;700368](#):
>
> Yo, did you test in VR? Or just with the fps pawn?
> 
> I can replicate with the FPS pawn and understand why it happens there, but I can’t replicate in VR and it doesn’t make sense that it would happen in VR, the movement collision behaves a little differently since the HMD directly drives the rotation of the capsule.

In VR if I spin around I can get on top of objects too, though much smaller ones. For example if I enable blocking collision with the player on those small blue pickup cubes, i can spin around and end up on top of them even if step up is disabled and running into them doesn’t make me step up. might be the result of a different function though.

---

<div class="post-metadata">

**Author:** ![janicewhtt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janicewhtt](https://forums.unrealengine.com/u/janicewhtt)\
**Post date:** [April 30, 2017, 6:56pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1049 "2017-04-30T18:56:25Z")

</div>

I downloaded the template file, i right click VRExpPluginExample.uproject to “generate visual studio file” or “switch unreal version”, it shows error like :

 ![dasdada.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/6/162ac910de78eb3680647aa5581c758468ea8bb1.png)

Please, help.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 30, 2017, 7:48pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1050 "2017-04-30T19:48:39Z")

</div>

> [@fspar30;702062](#):
>
> I downloaded the template file, i right click VRExpPluginExample.uproject to “generate visual studio file” or “switch unreal version”, it shows error like :
> 
> ![dasdada.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/6/162ac910de78eb3680647aa5581c758468ea8bb1.png)
> 
> Please, help.

I keep the template on the very latest version due to map compatibilities and using it as a test bed for new releases, as of thursday is the 4.16 preview. So you will need the newest engine version to use the template project (Epic changed some project level settings in 4.16 which are those errors you are seeing).

The plugin itself still has multple compatible version downloads.

---

<div class="post-metadata">

**Author:** ![janicewhtt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janicewhtt](https://forums.unrealengine.com/u/janicewhtt)\
**Post date:** [April 30, 2017, 10:55pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1051 "2017-04-30T22:55:46Z")

</div>

> [@;702080](#):
>
> I keep the template on the very latest version due to map compatibilities and using it as a test bed for new releases, as of thursday is the 4.16 preview. So you will need the newest engine version to use the template project (Epic changed some project level settings in 4.16 which are those errors you are seeing).
> 
> The plugin itself still has multple compatible version downloads.

I installed 4.16, time it successfully generate visual studio file, however when i build it, it has these errors:

 ![error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/0/508e02e2d1cc8d0105c9507cec3d4f5c49fe0546.jpeg)

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 1, 2017, 12:16am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1052 "2017-05-01T00:16:11Z")

</div>

> [@fspar30;702146](#):
>
> I installed 4.16, time it successfully generate visual studio file, however when i build it, it has these errors:
> 
> ![error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/0/508e02e2d1cc8d0105c9507cec3d4f5c49fe0546.jpeg)

You have nested the files somehow and likely went over the file name length for windows.

---

<div class="post-metadata">

**Author:** ![janicewhtt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janicewhtt](https://forums.unrealengine.com/u/janicewhtt)\
**Post date:** [May 1, 2017, 2:21am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1053 "2017-05-01T02:21:58Z")

</div>

> [@;702168](#):
>
> You have nested the files somehow and likely went over the file name length for windows.

I shortened the length of filename and most of the errors are gone, but there are still some errors left.

 ![1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/e/feb5d483e7f7c09883bf307f303d7bf1739f0c54.jpeg) ![2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/2/b2a8cff927cba3c52f31e79cbe9bb204ee3f31e2.jpeg)

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 1, 2017, 2:45am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1054 "2017-05-01T02:45:15Z")

</div>

Did you get the the very latest 4.16 beta branch? Looks like you have the 4.15, the TStructsOp were changed with the 4.16 update and its throwing an error for you about the motion controller interface being different (it was also changed in 4.16).

So you must have the 4.15 version / deleted the wrong copy, that or you have the old intermediate files from when you had the 4.15 installed and need to delete the intermediate folder.

---

<div class="post-metadata">

**Author:** ![janicewhtt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janicewhtt](https://forums.unrealengine.com/u/janicewhtt)\
**Post date:** [May 1, 2017, 5:33pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1055 "2017-05-01T17:33:08Z")

</div>

> [@;702203](#):
>
> Did you get the the very latest 4.16 beta branch? Looks like you have the 4.15, the TStructsOp were changed with the 4.16 update and its throwing an error for you about the motion controller interface being different (it was also changed in 4.16).
> 
> So you must have the 4.15 version / deleted the wrong copy, that or you have the old intermediate files from when you had the 4.15 installed and need to delete the intermediate folder.

I deleted the intermediate folder, got it working! thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b1038657](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b1038657](https://forums.unrealengine.com/u/anonymous_user_b1038657)\
**Post date:** [May 2, 2017, 7:43pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1056 "2017-05-02T19:43:18Z")

</div>

In the template scene, climbing the cubes is very steady and stable, because the hands could reach deep inside the cube and still grab hold of it.

But when i imported my own objects to climb, i am only able to grab hold of the outer surface skin, a very thin peripheral area of the object. If my hands reach deeper into the object, it is not able to grab hold of it and i will fall down from my climb.

How to make any object “deeply grabable” just like the climbing cubes in template scene?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b894159](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b894159](https://forums.unrealengine.com/u/anonymous_user_2b894159)\
**Post date:** [May 2, 2017, 7:49pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1057 "2017-05-02T19:49:35Z")

</div>

In the template scene, i am able to climb the cubes very steadily and stable, because my hands could grab onto the cube even when reaching deep into its center.

However when i import my own objects to climb, i could only grab hold of the surface skin area of the object, which is a very thin peripheral area. If my hands just grab a little deeper into the object, it will loose grip and i will fall down from my climb.

How to make any objects “deeply grabable” just like the cubes for climbing in the template?

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 2, 2017, 8:38pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1058 "2017-05-02T20:38:47Z")

</div>

> [@rondee29;703142](#):
>
> In the template scene, i am able to climb the cubes very steadily and stable, because my hands could grab onto the cube even when reaching deep into its center.
> 
> However when i import my own objects to climb, i could only grab hold of the surface skin area of the object, which is a very thin peripheral area. If my hands just grab a little deeper into the object, it will loose grip and i will fall down from my climb.
> 
> How to make any objects “deeply grabable” just like the cubes for climbing in the template?

Make them support overlapping, the “deep grab” is the fallaback overlap detection.

---

<div class="post-metadata">

**Author:** ![mandango](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mandango](https://forums.unrealengine.com/u/mandango)\
**Post date:** [May 2, 2017, 9:54pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1059 "2017-05-02T21:54:44Z")

</div>

> [@;702080](#):
>
> I keep the template on the very latest version due to map compatibilities and using it as a test bed for new releases, as of thursday is the 4.16 preview. So you will need the newest engine version to use the template project (Epic changed some project level settings in 4.16 which are those errors you are seeing).
> 
> The plugin itself still has multple compatible version downloads.

I realized the same issue yesterday, there aren’t a link to template ready for the 4.15? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 2, 2017, 10:29pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1060 "2017-05-02T22:29:29Z")

</div>

> [@mandango;703194](#):
>
> I realized the same issue yesterday, there aren’t a link to template ready for the 4.15? Thanks in advance.

No there isn’t, you can copy over the logic and characters to a 4.15 project from it, but the map itself isn’t backwards compatible and I don’t want to keep multiple copies of the map in the repository.

Granted you could pull the template commit directly before the upgrade to 4.16 and that would work, I also normally wait until a build is out of preview to upgrade the template to the latest, but I forgot in case and left it.

---

<div class="post-metadata">

**Author:** ![mandango](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mandango](https://forums.unrealengine.com/u/mandango)\
**Post date:** [May 2, 2017, 10:55pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1061 "2017-05-02T22:55:51Z")

</div>

Never mind, I had the plugin in my project and just want to test the grabbin with the gun, I don’t know If I’m wrong but though be grabbed with the hands at same time, and don’t get it.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 2, 2017, 11:02pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1063 "2017-05-02T23:02:00Z")

</div>

> [@rondee29;703236](#):
>
> I tick “Generate overlap events” in the Collision settings, but it makes no difference.
> 
> My static mesh is originally very small in size, i scaled it up like 10 times. Is causing the deeper parts to become hollow, therefore not grabable? Is there a way to fix it? I’ve also click “similulate physics” and “MassInkKg:500” but still doesn’t work.
> 
> - i also click on “Use Complex Collision as Simple” for the collision, is the correct one to choose?

Make sure that the collision settings are allowed to collide/overlap with the Sphere collision components attached to the controllers.

[Previous page](https://forums.unrealengine.com/t/vr-expansion-plugin/68709.md?page=51)

[Next page](https://forums.unrealengine.com/t/vr-expansion-plugin/68709.md?page=53)
