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

<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:** [August 4, 2017, 8:31pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1439 "2017-08-04T20:31:01Z")

</div>

I’m gonna try and make a version that just uses Epic’s VR template and put it on the Marketplace, I think it’s a really good inventory system for VR.

---

<div class="post-metadata">

**Author:** ![Starkium](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/starkium/32/1194588_2.png) [@Starkium](https://forums.unrealengine.com/u/Starkium)\
**Post date:** [August 4, 2017, 8:57pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1440 "2017-08-04T20:57:48Z")

</div>

> [@n00854180t;745954](#):
>
> I’m gonna try and make a version that just uses Epic’s VR template and put it on the Marketplace, I think it’s a really good inventory system for VR.

which i desperately need

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_888c5283](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_888c5283](https://forums.unrealengine.com/u/anonymous_user_888c5283)\
**Post date:** [August 7, 2017, 8:02am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1441 "2017-08-07T08:02:12Z")

</div>

The Wiki does not give examples on “plugging” into an existing project (which was created using the built-in VR template).  
How would I do so?

---

<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:** [August 7, 2017, 12:29pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1442 "2017-08-07T12:29:04Z")

</div>

> [@jinngonqui;746712](#):
>
> The Wiki does not give examples on “plugging” into an existing project (which was created using the built-in VR template).  
> How would I do so?

Likely by referencing the example templates implementation, that is its actual use.

“Plugging it in” has many different meanings for the plugin, there are a ton of different features that could be used or not. The basic is just making the main character based off of a VRCharacter, or if only wanting the grip setups to change the motion controllers to GripMotionControllers.

---

<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:** [August 7, 2017, 7:06pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1443 "2017-08-07T19:06:02Z")

</div>

Just merged the 4.17 beta branches into the repositories and uploaded the 4.17 pre-packaged binaries.

---

<div class="post-metadata">

**Author:** ![jawatr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jawatr](https://forums.unrealengine.com/u/jawatr)\
**Post date:** [August 7, 2017, 9:46pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1444 "2017-08-07T21:46:29Z")

</div>

Excellent work as always 🙂 Thank you !!!

---

<div class="post-metadata">

**Author:** ![Starkium](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/starkium/32/1194588_2.png) [@Starkium](https://forums.unrealengine.com/u/Starkium)\
**Post date:** [August 7, 2017, 10:04pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1445 "2017-08-07T22:04:59Z")

</div>

whats the benefit of 4.17 right now?

---

<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:** [August 7, 2017, 10:55pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1446 "2017-08-07T22:55:26Z")

</div>

> [@Starkium;746991](#):
>
> whats the benefit of 4.17 right now?

The spectator / mixed reality / async multiplayer features.

Knuckles support

Some fixes

---

<div class="post-metadata">

**Author:** ![Curs0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/curs0/32/470295_2.png) [@Curs0](https://forums.unrealengine.com/u/Curs0)\
**Post date:** [August 9, 2017, 7:31am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1447 "2017-08-09T07:31:59Z")

</div>

> [@;745311](#):
>
> If you are using 4.16 for 4.17 I don’t think the project should even compile though, I had to change multiple things.

Nope, got latest 4.17 sources from master branch yesterday and same result from VS or ue build tool

```auto

2>EXEC : warning : Plugin 'AdvancedSessions' does not list plugin 'OnlineSubsystem' as a dependency, but module 'AdvancedSessions' depends on 'OnlineSubsystem'.
2>EXEC : warning : Plugin 'AdvancedSessions' does not list plugin 'OnlineSubsystemUtils' as a dependency, but module 'AdvancedSessions' depends on 'OnlineSubsystemUtils'.
2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'OnlineSubsystem' as a dependency, but module 'AdvancedSteamSessions' depends on 'OnlineSubsystem'.
2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'OnlineSubsystemUtils' as a dependency, but module 'AdvancedSteamSessions' depends on 'OnlineSubsystemUtils'.
2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'AdvancedSessions' as a dependency, but module 'AdvancedSteamSessions' depends on 'AdvancedSessions'.
2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'OnlineSubsystemSteam' as a dependency, but module 'AdvancedSteamSessions' depends on 'OnlineSubsystemSteam'.

```

Any suggestions?  
thx!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_63759055](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_63759055](https://forums.unrealengine.com/u/anonymous_user_63759055)\
**Post date:** [August 9, 2017, 11:36am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1448 "2017-08-09T11:36:20Z")

</div>

Just modify the .uplugin file from AdvancedSession and AdvancedSteamSession to add the module dependencies. is a warning as inter-module dependencies where added in 4.17.

I modified it to silence those warnings:

```auto

{ "FileVersion" : 3,
 
    "FriendlyName" : "Advanced Sessions",
    "Version" : 1.9,
    "VersionName": "1.9",
    "Description" : "Adds new blueprint functions to handle more advanced session operations.",
    "Category" : "Advanced Sessions Plugin",
    "CreatedBy" : "Joshua Statzer",
    "CreatedByURL" : "N/A",

  "Modules": 
    {
      "Name": "AdvancedSessions",
      "Type": "RunTime",
      "LoadingPhase": "PreDefault"
    }
  ],
  "Plugins": 
    {
      "Name": "OnlineSubsystem",
      "Enabled": true
    },
    {
      "Name": "OnlineSubsystemUtils",
      "Enabled": true
    }
  ]
}

```

---

<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:** [August 9, 2017, 12:14pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1449 "2017-08-09T12:14:55Z")

</div>

> [@Curs0;747591](#):
>
> Nope, got latest 4.17 sources from master branch yesterday and same result from VS or ue build tool
> 
> ```auto
> 
> 2>EXEC : warning : Plugin 'AdvancedSessions' does not list plugin 'OnlineSubsystem' as a dependency, but module 'AdvancedSessions' depends on 'OnlineSubsystem'.
> 2>EXEC : warning : Plugin 'AdvancedSessions' does not list plugin 'OnlineSubsystemUtils' as a dependency, but module 'AdvancedSessions' depends on 'OnlineSubsystemUtils'.
> 2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'OnlineSubsystem' as a dependency, but module 'AdvancedSteamSessions' depends on 'OnlineSubsystem'.
> 2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'OnlineSubsystemUtils' as a dependency, but module 'AdvancedSteamSessions' depends on 'OnlineSubsystemUtils'.
> 2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'AdvancedSessions' as a dependency, but module 'AdvancedSteamSessions' depends on 'AdvancedSessions'.
> 2>EXEC : warning : Plugin 'AdvancedSteamSessions' does not list plugin 'OnlineSubsystemSteam' as a dependency, but module 'AdvancedSteamSessions' depends on 'OnlineSubsystemSteam'.
> 
> ```
> 
> Any suggestions?  
> thx!

Yeah a file had missed the commit, I added it back in last night, you can re-download.

> [@MaSe87;747664](#):
>
> Just modify the .uplugin file from AdvancedSession and AdvancedSteamSession to add the module dependencies. is a warning as inter-module dependencies where added in 4.17.
> 
> I modified it to silence those warnings:

Yeah I had it fixed on my end since preview 1, but the uplugin didn’t get committed. Its in there now.

The pre-packaged binaries should be without the warning as they were off of my local copy.

---

<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:** [August 9, 2017, 6:36pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1450 "2017-08-09T18:36:35Z")

</div>

Pushed a new commit to the repository

```auto

Some VRDial component fixes / re-implementations, should be functional now and out of 
"beta".

Likely needs some additional features and clean-up in the future.
 makes it: Button, Lever, Dial being at least initially done remaking to c++.

```

---

<div class="post-metadata">

**Author:** ![Ecnassianer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ecnassianer](https://forums.unrealengine.com/u/Ecnassianer)\
**Post date:** [August 10, 2017, 8:18pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1451 "2017-08-10T20:18:08Z")

</div>

I’m using the [Procedural Bridges Template](https://forums.unrealengine.com/showthread.php?66526-FREE-Procedural-Rope-Bridge) to create bridges for the player to walk over. The bridges are a core part of my project, so I don’t want them to be simple static meshes. The Procedural Bridges are made of a bunch of meshes linked together by physics constraints. Each mesh plank simulates physics and you end up with an awesome wobbly rope bridge.

I’m using VivePawn from the template, and in order to get the pawn to stand on the bridges, I have to disable Ignore Simulating Components. Unfortunately causes the pawn to jitter while it’s on the bridge. It’s not too extreme to make it unplayable, but I’d like to fix it. Is there a way to resolve jitter without ignoring interactions with simulated components?

---

<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:** [August 10, 2017, 11:18pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1452 "2017-08-10T23:18:42Z")

</div>

> [@Ecnassianer;748354](#):
>
> I’m using the [Procedural Bridges Template](https://forums.unrealengine.com/showthread.php?66526-FREE-Procedural-Rope-Bridge) to create bridges for the player to walk over. The bridges are a core part of my project, so I don’t want them to be simple static meshes. The Procedural Bridges are made of a bunch of meshes linked together by physics constraints. Each mesh plank simulates physics and you end up with an awesome wobbly rope bridge.
> 
> I’m using VivePawn from the template, and in order to get the pawn to stand on the bridges, I have to disable Ignore Simulating Components. Unfortunately causes the pawn to jitter while it’s on the bridge. It’s not too extreme to make it unplayable, but I’d like to fix it. Is there a way to resolve jitter without ignoring interactions with simulated components?

I mean…you are placing a character on a “wobbly” surface and trying to have them walk across it. Character movement components don’t simulate physics through the physics scene, so they approximate the floor/surface they are standing on and the other physics object is supposed to move out of the way. You are always going to get some unpredictability with simulating components and a movement component, you can try increasing the strength of the constraints so they hold the players mass better and it doesn’t have to adjust to the surface as often. Its made worse by the fact that the capsule retains Z up orientation so when the bridge tilts the character does not.

Sounds like a true vomit simulator though having a swaying bridge.

You can try using the “flat bottom” setting on the movement component, it doesn’t treat the bottom of the capsule as a radius’s cylinder, you may get less jitter that way.

I’ll note that the package you are using has the option to turn off simulation, that may be better.

_Edit_ A video of the jitter you are experiencing would be helpful, you never know, maybe I can do something about it. Did you try it with an FPS character as well and see if it had similar behavior?

Also you could try playing with the “Impart Velocity” settings for the character movement components

```auto

Public variable	uint32 : 1 bImpartBaseAngularVelocity	If true, impart the base component's tangential components of angular velocity when jumping or falling off it.
Public variable	uint32 : 1 bImpartBaseVelocityX	If true, impart the base actor's X velocity when falling off it (which includes jumping)
Public variable	uint32 : 1 bImpartBaseVelocityY	If true, impart the base actor's Y velocity when falling off it (which includes jumping)
Public variable	uint32 : 1 bImpartBaseVelocityZ	If true, impart the base actor's Z velocity when falling off it (which includes jumping)

```

_ReEdit_

Yeah I was curious enough to check the base project you are using, even third / first person characters are effected, the bridge is not in any way stable and has some massive jitter from badly set physics constraints.

The blueprints and/or method being used needs some changes, though flat based movement component for find floor DOES help, it doesn’t fix the most unstable parts of the bridge (upswing / downswing jitter from low damping constraints). Also the extra rope “bridges” are conflicting / colliding at one point in the default one making the second to last planks jitter very badly.

Its likely that you just didn’t notice the jitter before being in VR because it wouldn’t seem as extreme on the monitor, while in VR that up/down motion is going to be very noticeable.

---

<div class="post-metadata">

**Author:** ![Curs0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/curs0/32/470295_2.png) [@Curs0](https://forums.unrealengine.com/u/Curs0)\
**Post date:** [August 11, 2017, 7:55am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1453 "2017-08-11T07:55:27Z")

</div>

> [@;747678](#):
>
> Yeah a file had missed the commit, I added it back in last night, you can re-download.

no warnings at all, many thanks

---

<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:** [August 11, 2017, 12:49pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1454 "2017-08-11T12:49:21Z")

</div>

I have a few sweeping changes that I would like to make to the plugin to make it more fluid. I have been holding back on them because it would cause people to have to re-do parts of their projects in order to switch to the new setups. Figured I would throw what I would “like” to do in here, with the up and downsides to it and then get feedback on if its worth the pain of transitioning projects to the new methods.

All of these are things that can totally stay “as is” without hurting things too much, however I keep them on my personal list of “Hate” due to either being outdated with new features that have been added, or just not being as robust as I would like now that the plugin has matured more.

\*\*#1: Switch the Interface OnUsed / EndUsed / OnUsed Secondary / EndUsed Secondary events into a singular event instead with enums and more flexibility. \*\*

```auto

OnUsedEvent - Type Of use (Start, Stop, ect) - Identifier (Primary, Secondary, Custom1, ect).

```

\*\*Upsides: \*\*  
More input possibilities into interfaced objects without custom interfaces or casting,  
more flexibility,  
a smaller less bloated interface signature (one event instead of 4)

**Downsides:**  
All current uses of OnUsed and OnEndUsed would have to be switched over to the new format.

\*\*#2: Switch the bIsInteractible boolean into a custom nested struct \*\*

**Upsides:**  
During initial grip info replication none of the interactible settings would replicate unless the boolean is ticked to true, would save on load up bandwidth,  
I could more directly control replication of these items,

**Downsides:**  
All interactible objects would need to have references to the boolean re-set as it would move,  
All interactible settings would need to be re-made

\*\*#3: Change Initial/Min/ interactible settings location variables to a compressed form \*\*

**Upsides:**  
Would greatly lower bandwidth when sending them

**Downsides:**  
I already tried once, the editor does not recognize them as being the same base type and all current settings are lost and would have to be re-entered.

\*Note: If done at once, #2 and #3’s downsides would all happen at once since they overlap and would be less painful \*

\*\*#4 (Extreme, not likely, but wishful): Entirely remove the interaction settings \*\*

**Why:**  
Now with the custom grip and the c++ Button, Dial, Lever there is actually very little reason to retain the old interactible settings, they are essentially outdated.  
All of their functionality can be re-created with a custom grip, and with more fine grained control over how they behave (though requiring some more work).

**Upsides:**  
Far less grip structure bloat,  
Far less replicated variables,  
A faster tick on the Motion controllers as they don’t have to check for bIsInteractible every time using an interface call,  
I would be forced to basically finish the c++ versions and make slides / drawers and the like to cover what would be then missing.

**Downsides:**  
No more entering a few variables for working drawers and sliders, would have to use base classes that I make or make your own using the custom grip (not hard to do though),  
All current objects that rely on interactible settings would need re-made.

---

<div class="post-metadata">

**Author:** ![Curs0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/curs0/32/470295_2.png) [@Curs0](https://forums.unrealengine.com/u/Curs0)\
**Post date:** [August 11, 2017, 3:48pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1455 "2017-08-11T15:48:42Z")

</div>

> [@;748676](#):
>
> #1: Switch the Interface OnUsed / EndUsed / OnUsed Secondary / EndUsed Secondary events into a singular event instead with enums and more flexibility.

We’re using only core functionalities of your plugin and that would be a lot of rework with no pros at all  
If you u plan to upgrade it, pls keep current interface alive

---

<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:** [August 11, 2017, 5:19pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1456 "2017-08-11T17:19:51Z")

</div>

> [@Curs0;748735](#):
>
> We’re using only core functionalities of your plugin and that would be a lot of rework with no pros at all  
> If you u plan to upgrade it, pls keep current interface alive

As in you don’t use the Onused events? Or as in you don’t need the extra options the re-work would provide?

Because if I did “upgrade it” I can’t keep the current interface as is, it would be besides the point.

If you don’t use the OnUsed events, and you don’t have c++ classes implementing the interface, then it would be no work at all.

---

<div class="post-metadata">

**Author:** ![Curs0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/curs0/32/470295_2.png) [@Curs0](https://forums.unrealengine.com/u/Curs0)\
**Post date:** [August 11, 2017, 5:30pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1457 "2017-08-11T17:30:43Z")

</div>

we definitely use “on used/end used/etc” events and we don’t need extra function that new interface would provide  
our opinion btw 😉

---

<div class="post-metadata">

**Author:** ![IslandPlaya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandplaya/32/1194500_2.png) [@IslandPlaya](https://forums.unrealengine.com/u/IslandPlaya)\
**Post date:** [August 12, 2017, 11:13am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1458 "2017-08-12T11:13:45Z")

</div>

I’m in-between projects which gives me the luxury of a little time. I fully support making all 4 of the proposed changes.  
No pain, no gain.

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

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