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

<div class="post-metadata">

**Author:** ![PhoTek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PhoTek](https://forums.unrealengine.com/u/PhoTek)\
**Post date:** [January 31, 2017, 10:57pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/594 "2017-01-31T22:57:56Z")

</div>

is such a good plguin, how have I only found out about when already made most of these interactions?! I must say the way your handled VR pawn collision is incredibly smart, hats off to you and so much thanks for giving away.

---

<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:** [January 31, 2017, 11:49pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/595 "2017-01-31T23:49:27Z")

</div>

> [@n00854180t;659223](#):
>
> - Is there a way to get at the SteamVR user environment models, similar to how you do for the controller models? I would like to make it so that users can use the SteamVR environment in my VR audiobook player, since then people can do stuff like listen to Star Wars novels or whatever on the Death Star or LotR in a Hobbit house etc.

I don’t think they currently are accessible, they would probably fall under the “misc” render models directory but In the openvr version that UE4 is on at least that is still listed as “for future expansion”.

You could check the directory your self and load the models manually of course, but the layout is done with a json file and multiple models. Its beyond what I would support with considering how few (probably just you) would use it and how long it would take.

---

<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:** [February 1, 2017, 12:04am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/596 "2017-02-01T00:04:44Z")

</div>

> [@dkoding;659170](#):
>
> Hello , thanks for your plugin, it is very useful.  
> I have a question: I have a bow and arrow that I want to manipulate using the VRGripInterface. I really want an event for OnSecondaryUsed - kind of like event OnSecondaryGrip/OnSecondaryGripRelease - any hope for getting as well? That way I can both double grip with left and right grip button and can also use left and right trigger button to manipulate objects.

I added secondary used and end secondary used interface events, they will be in the update tonight, I won’t have time to revise the blueprints to allow for it (grips to drop secondary grip instead of trigger) tonight though.

Also its in the 4.15 alpha branch since that will be the main branch post official release (due to the header changes from 4.14 - 4.15).

---

<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:** [February 1, 2017, 2:49am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/597 "2017-02-01T02:49:02Z")

</div>

> [@;659288](#):
>
> I don’t think they currently are accessible, they would probably fall under the “misc” render models directory but In the openvr version that UE4 is on at least that is still listed as “for future expansion”.
> 
> You could check the directory your self and load the models manually of course, but the layout is done with a json file and multiple models. Its beyond what I would support with considering how few (probably just you) would use it and how long it would take.

Alright, probably not worth bothering with compared to just making my app support mods itself, really. I was mainly wondering if there was a nice way to do it through the OpenVR API I could implement myself, but it doesn’t seem like it.

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9ecdd9af](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9ecdd9af](https://forums.unrealengine.com/u/anonymous_user_9ecdd9af)\
**Post date:** [February 1, 2017, 7:34am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/598 "2017-02-01T07:34:42Z")

</div>

> [@;658557](#):
>
> Yeah, you can use a physics constraint on the mesh and constrain the meshes to the controller component. I don’t know how much you want to do that considering the “wrist breaking” effect, I would normally suggest just denying gripping while interpenetrating. (you would also want to add the controllers to the additional late updates array that I added to the controllers so that they wouldn’t lag behind when moving fast).
> 
> You could also “grip” the meshes using the controllers and skip the first grip during operations, one of the grip types (Interaction Physics with sweep) would just stop on the wall when trying to go through and wouldn’t have all of the physics jittering and flattening to the wall that you would get otherwise.

Thanks for the answer, is it possible to give some examples since i cant reproduce my self . Maybe additional pawn with these type of colliding hands in the template project ?  
Have a nice day !

---

<div class="post-metadata">

**Author:** ![dkoding](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dkoding](https://forums.unrealengine.com/u/dkoding)\
**Post date:** [February 1, 2017, 8:48am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/599 "2017-02-01T08:48:21Z")

</div>

Quick question - how would you handle leaning over stuff? As it is, when my ‘feet’ collide with an obstacle I can no longer move forward. But when I lean forward, my ‘feet’ will also move forward, as it is the head that is tracked. I was thinking of scaling the capsule up/down based on if you are moving using the controller and not, but that lets a player move up to a wall using controller movement, then walk right through it using the room space. Anyone have other suggestions?

---

<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:** [February 1, 2017, 1:49pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/600 "2017-02-01T13:49:44Z")

</div>

> [@dkoding;659398](#):
>
> Quick question - how would you handle leaning over stuff? As it is, when my ‘feet’ collide with an obstacle I can no longer move forward. But when I lean forward, my ‘feet’ will also move forward, as it is the head that is tracked. I was thinking of scaling the capsule up/down based on if you are moving using the controller and not, but that lets a player move up to a wall using controller movement, then walk right through it using the room space. Anyone have other suggestions?

Most projects (plugin or not) right now are letting players overlap to a set distance into an object before blocking them, turning off player collision entirely on things like tables (simple and effective), or running a separate collision check on a boundry around the head and blocking based on that plus a distance from the “foot” position.

They can all be implemented fairly simply, the issue is that they will always be hacky and incomplete without proper foot tracking. For tall walls you want total blockage, and for short ones even if you allow for “play distance” where the head can move out away from the body for a bit the average player is likely to be just walking that extra distance, not just leaning, so the immersion isn’t really any better unless the player strictly follows leaning over things.

I’ve been considering implementing the seperate head collision again (trialed it awhile ago) but due to the inherent imperfections of any system made currently it hasn’t been high on my priority list, the easiest method (just not colliding with tables and the like) is actually almost the best solution currently.

---

<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:** [February 1, 2017, 5:54pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/601 "2017-02-01T17:54:48Z")

</div>

Uploaded a video going over the climbing example and a gripping change last night.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/7/7b78d11eadb7553216a99c6eb0bbcb9e760fd7a8.jpeg "Going over the climbing example") ](https://www.youtube.com/watch?v=08-cWd5gJfc)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_29a6bfc51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_29a6bfc51](https://forums.unrealengine.com/u/anonymous_user_29a6bfc51)\
**Post date:** [February 1, 2017, 9:06pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/602 "2017-02-01T21:06:57Z")

</div>

Has anyone had success in attaching the grip animation and mapping it to the trigger? I’m having some trouble making it work.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fc4276f1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fc4276f1](https://forums.unrealengine.com/u/anonymous_user_fc4276f1)\
**Post date:** [February 2, 2017, 1:50pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/603 "2017-02-02T13:50:15Z")

</div>

Im sadly just getting a 500kb archive when trying to download the plugin itself.

---

<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:** [February 3, 2017, 3:20am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/604 "2017-02-03T03:20:00Z")

</div>

> [@Oskar\_OneReality;660089](#):
>
> Im sadly just getting a 500kb archive when trying to download the plugin itself.

Thats correct, the full size of \> 1gb includes the file histories of previous versions (including when i had the binaries in it). Just the source itself should be around that size.

The template is around 64mb though.

---

<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:** [February 3, 2017, 5:19pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/605 "2017-02-03T17:19:49Z")

</div>

Went in today and started making VRClimbingMovementMode a first class citizen in the plugin. Should resolve being able to step up onto objects and use the release velocity correctly.

I will have to do some testing tonight, but so far it looks really good.

---

<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:** [February 3, 2017, 9:05pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/606 "2017-02-03T21:05:58Z")

</div>

> [@;660710](#):
>
> Went in today and started making VRClimbingMovementMode a first class citizen in the plugin. Should resolve being able to step up onto objects and use the release velocity correctly.
> 
> I will have to do some testing tonight, but so far it looks really good.

I set up a climbing system using your plugin to give the player gravity so when you let go you fall. Your climbing system seems to be slightly more rounded out than the one I’m using. I’m not sure if there is anything useful in there for you but if there is feel free to use it.

> **[Vive Climbing template](https://forums.unrealengine.com/showthread.php?134301-Vive-Climbing-template)**
>
> HTC Vive Climbing Template Here is a climbing mode added to the default Unreal VR template. Download link below. Its a small file size only 12 MB. You use the motion controls to climb. Feel free to add and amend template. The only thing I’ll ask is...

---

<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:** [February 3, 2017, 9:17pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/607 "2017-02-03T21:17:48Z")

</div>

> [@tcla75;660833](#):
>
> I set up a climbing system using your plugin to give the player gravity so when you let go you fall. Your climbing system seems to be slightly more rounded out than the one I’m using. I’m not sure if there is anything useful in there for you but if there is feel free to use it.
> 
> [Vive Climbing template - XR Development - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?134301-Vive-Climbing-template)

Its ok, the climbing system is pretty much complete, I had decided that if I was going to do one that I would “over do” it. Good job getting yours up and running though, I know you were looking for one for awhile, I just wasn’t willing to tack one onto the plugin, sorry about that.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_29a6bfc51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_29a6bfc51](https://forums.unrealengine.com/u/anonymous_user_29a6bfc51)\
**Post date:** [February 3, 2017, 10:26pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/608 "2017-02-03T22:26:50Z")

</div>

> [@jonathan\_eiger;659750](#):
>
> Has anyone had success in attaching the grip animation and mapping it to the trigger? I’m having some trouble making it work.

Tried to copy the code from the BP motion controller hand but realized the plugin has two separate hand meshes. I’ll keep trying.

---

<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:** [February 4, 2017, 1:10am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/609 "2017-02-04T01:10:03Z")

</div>

As far as I am concerned the climbing mode is functionally complete now, it is an actual Custom Movement Mode selectable from the character movement component and behaves pretty much exactly like what I wanted.

_4.15 alpha branch_

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/3/c435fe5a6e7bc3db5184986156030e0bfb536008.jpeg "Final version of the climbing movement mode") ](https://www.youtube.com/watch?v=z0kmOchpaO0)

---

<div class="post-metadata">

**Author:** ![Kopnin\_Pavel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kopnin_pavel/32/999168_2.png) [@Kopnin\_Pavel](https://forums.unrealengine.com/u/Kopnin_Pavel)\
**Post date:** [February 4, 2017, 5:00am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/610 "2017-02-04T05:00:15Z")

</div>

Awesome work, looks excellent

---

<div class="post-metadata">

**Author:** ![EspireMike](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/espiremike/32/1155389_2.png) [@EspireMike](https://forums.unrealengine.com/u/EspireMike)\
**Post date:** [February 5, 2017, 9:50am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/611 "2017-02-05T09:50:49Z")

</div>

Here is a project that is being created with the VRExpansionPlugin. Huge thanks for the incredible plugin - there’s such a huge amount of effort put into it, and it is released freely with Unreal VR developers worldwide. Much appreciated! I have put a credit to you and the plugin on the video below and it’s website.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/8/a884a2a0f739ccba3cc152f291205e86e1450109.jpeg "Espire 1 - a VR Stealth game Prototype") ](https://www.youtube.com/watch?v=O0nK1zIPycE)

---

<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:** [February 5, 2017, 5:46pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/612 "2017-02-05T17:46:24Z")

</div>

> [@michaelwbell;661368](#):
>
> Here is a project that is being created with the VRExpansionPlugin. Huge thanks for the incredible plugin - there’s such a huge amount of effort put into it, and it is released freely with Unreal VR developers worldwide. Much appreciated! I have put a credit to you and the plugin on the video below and it’s website.
> 
> [https://youtube.com/watch?v=O0nK1zIPycE](https://youtube.com/watch?v=O0nK1zIPycE)

Looking good, hope you add some rappelling / ceiling climbing mechanics like the old splinter cells 😛

---

<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:** [February 7, 2017, 1:00am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/613 "2017-02-07T01:00:54Z")

</div>

Ok so I wasn’t “entirely” happy with the climbing system yet and made some blueprint changes, video is a little less coherent than normal due to being sick…

I’ll move on to something else now.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/c/38c8a7a16ec29234c045bd3c1646f9e2cd05bcb3.jpeg "Last go over of the climbing") ](https://www.youtube.com/watch?v=Lu5tgOrTgak)

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

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