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

<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:** [October 26, 2018, 12:00am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2871 "2018-10-26T00:00:21Z")

</div>

> [@Haircut](#):
>
> Do you mean ClosestGripSlotInRange?

Yes, you can override it and replace the default functionality with your own, there is also a helper node so that you can still have the default functionality but with additional logic:

https://.bitbucket.io/VRExpansionPlugin/VR/VRExpansionFunctionLibrary/nodes/GetGripSlotInRangeByTypeName.html

---

<div class="post-metadata">

**Author:** ![Virtuality](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/virtuality/32/1140891_2.png) [@Virtuality](https://forums.unrealengine.com/u/Virtuality)\
**Post date:** [October 26, 2018, 8:04am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2872 "2018-10-26T08:04:26Z")

</div>

Hi there!

So I was playing with the VRSlider component and I realized how much more convenient (and efficient) it is to use a dedicated component like , compared to using a PhysicsConstraint that you have to use when making a door.

Is there any chance that the VRSlider component can be expanded in the future to include Rotation? You would have one VRTurnSlide (can’t think of a better name right now…) to use for items that have a restricted movement, sliding and/or rotating. The rotation would (obviously) be around the origin of the item, so no need to connect the constraint to other components.

In fact, you would expand to 6DoF compared to the current 3DoF.

What do you think? I couldn’t find it on the current Trello roadmap, so probably it’s not part of your priorities right now (which I can understand…). Just wanted to throw it in 🙂

---

<div class="post-metadata">

**Author:** ![Werbel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Werbel](https://forums.unrealengine.com/u/Werbel)\
**Post date:** [October 26, 2018, 11:30am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2873 "2018-10-26T11:30:32Z")

</div>

> [@](#):
>
> I have a (currently private) module that implements it for them (and gesture detection), the issue is that in prior to 4.21 builds it requires a bit of hacking around to get the skeletal actions working, and in 4.21 itself there is no clean plugin method of forcing the new action into the manifest without direct source edits or manually writing out to it and reloading.

Thanks for your answer! Good to know at what state we are at point.  
Does mean, that we can have finger tracking working but not accessible values for each finger etc? It’s enough for me at point. I’ll take a look into OpenInput then, thanks!

Looking forward for next VR Expansion Plugin release, I’ll hold on with trying it before knuckles support, but it’s looking good!

---

<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:** [October 26, 2018, 12:26pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2874 "2018-10-26T12:26:30Z")

</div>

> [@Werbel](#):
>
> Thanks for your answer! Good to know at what state we are at point.  
> Does mean, that we can have finger tracking working but not accessible values for each finger etc? It’s enough for me at point. I’ll take a look into OpenInput then, thanks!
> 
> Looking forward for next VR Expansion Plugin release, I’ll hold on with trying it before knuckles support, but it’s looking good!

Not entirely sure a clean method in plugin will be possible in 4.21 at all, they stated that they were adding to it post 4.21 and their repository version is on 4.22 already. I would have to find a spot to edit the action manifest that they are generating without screwing over the input stack, the file is generated on every program launch…

I haven’t tested yet if re-setting the action manifest clears handles, it likely does which would put a large damper in doing it through plugin for now. Directly in engine source it would be very easy though.

As for finger values, previous knuckles used the finger curl values that are already in the legacy inputs, I have heard a few people saying that those no longer function, I wouldn’t know since I have been developing directly with the skeletal data instead and have never needed them. There are also seperate per finger curl values that you can bind to in openInput and a grip value.

---

<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:** [October 26, 2018, 12:45pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2875 "2018-10-26T12:45:48Z")

</div>

> [@Warner\_V](#):
>
> Hi there!
> 
> So I was playing with the VRSlider component and I realized how much more convenient (and efficient) it is to use a dedicated component like , compared to using a PhysicsConstraint that you have to use when making a door.
> 
> Is there any chance that the VRSlider component can be expanded in the future to include Rotation? You would have one VRTurnSlide (can’t think of a better name right now…) to use for items that have a restricted movement, sliding and/or rotating. The rotation would (obviously) be around the origin of the item, so no need to connect the constraint to other components.
> 
> In fact, you would expand to 6DoF compared to the current 3DoF.
> 
> What do you think? I couldn’t find it on the current Trello roadmap, so probably it’s not part of your priorities right now (which I can understand…). Just wanted to throw it in 🙂

The open trello featurerequest? That isn’t my actual full Trello, my full Trello is rather large…

As for the slider, I have an example blueprint (in the template, its the one from my video tutorial but I added to it later) that shows how to make a sliding / rotating / both component using my custom grip function library (basically what you asked for). I am trying not to complicate the slider itself too much more at point since it already has a page of features and that particular one would conflict with some of them (like spline rotation following).

Also, most people have been using a VRLeverComponent for doors as it is a dedicated rotational interactible.

As for efficient, actually the constraint is likely more efficient computation wise, its just less directly controllable and scriptable.

---

<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:** [October 28, 2018, 9:53pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2876 "2018-10-28T21:53:28Z")

</div>

> [@](#):
>
> I am not personally concerned with hand animations as there are plenty of hand sets out there and its really game specific. The plugin is intended to fill the gap with advanced mechanics and things that are more game agnostic.
> 
> As for walking over tables, I have answered many times, you can set it up yourself, turn on the WalkingCollisionOverride mode (no collision when walking roomscale, collision when locomotion is active), or turn off collision on the table to the pawn period, I am not really interested in “faking leaning” in the general sense at time.

Thanks for reply. Of course all is up type of project, everyone has different ideas or point of view, and is not the same for FPS than for adventure, just commented if did it for some purpose or is already some option/param can be turned in settings, for example like “WalkingCollisionOverride”, thanks for comment it and sorry if you repeated many times, I’ve read many posts, but my english is not fluid and don’t understand so fast/easy like desired, need google translator many times ;).

Just another question, I have looking the manipulation grip part, the example of the cabinet. Is possible to limit (do it slower) the turn of the object (I think is swing for unreal) if pull so hard/fast at grip time?

---

<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:** [October 28, 2018, 11:48pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2877 "2018-10-28T23:48:38Z")

</div>

> [@mandango](#):
>
> Thanks for reply. Of course all is up type of project, everyone has different ideas or point of view, and is not the same for FPS than for adventure, just commented if did it for some purpose or is already some option/param can be turned in settings, for example like “WalkingCollisionOverride”, thanks for comment it and sorry if you repeated many times, I’ve read many posts, but my english is not fluid and don’t understand so fast/easy like desired, need google translator many times ;).
> 
> Just another question, I have looking the manipulation grip part, the example of the cabinet. Is possible to limit (do it slower) the turn of the object (I think is swing for unreal) if pull so hard/fast at grip time?

You can change the constraint strength / friction on the cabinet door hinges to make it harder to pull compared to the manipulation grip strength.

---

<div class="post-metadata">

**Author:** ![MagicBots](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MagicBots](https://forums.unrealengine.com/u/MagicBots)\
**Post date:** [October 28, 2018, 11:52pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2878 "2018-10-28T23:52:21Z")

</div>

Regarding about the knuckles:

> [@](#):
>
> …I may put it out with the hackish instructions just for people to play with at some point though…

Yes please!  
would be amazing if you don’t mind.

---

<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:** [October 29, 2018, 12:52am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2879 "2018-10-29T00:52:41Z")

</div>

> [@MagicBots](#):
>
> Regarding about the knuckles:
> 
> Yes please!  
> would be amazing if you don’t mind.

I’m finishing up the replication part of it weekend, i’ll likely give the rough copy to people that directly request it some time during the week.

The support discord has a few already waiting so I decided to go ahead and clean it up.

---

<div class="post-metadata">

**Author:** ![ZeroVector](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeroVector](https://forums.unrealengine.com/u/ZeroVector)\
**Post date:** [October 29, 2018, 8:51am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2880 "2018-10-29T08:51:12Z")

</div>

I have been looking at the grapple gun and wondered how hard it would be to remove the gun and just add the grapple function to the L or R hand using the side grips on the vive motion controllers, so can cycle between teleport, climb mode, swing arm and grapple function… If anyone can help to point me in the direction on how I can do I would be appreciative as I am a little new to UE4, but know how to fins my way around 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:** [October 29, 2018, 10:14pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2881 "2018-10-29T22:14:31Z")

</div>

> [@](#):
>
> You can change the constraint strength / friction on the cabinet door hinges to make it harder to pull compared to the manipulation grip strength.

OK, I think you mean the Strenght param in Angular Motor inside the PhysicsConstraint

---

<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:** [October 30, 2018, 1:44am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2882 "2018-10-30T01:44:13Z")

</div>

> [@MagicBots](#):
>
> Regarding about the knuckles:
> 
> Yes please!  
> would be amazing if you don’t mind.

Sent you a PM with the beta module, don’t want to full release it until Epic fixes their 4.21 input integration so that it can merge seamlessly.

If you need help with the gesture detection let me know, I didn’t have time to write up a tutorial for it.

Also ended up recording a quick video talking about it:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/5/f25413f7c8600840c55f0866ee7ecbda00c45c13.jpeg "Knuckles beta module and current work") ](https://www.youtube.com/watch?v=YvP5QAsfjgY)

---

<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:** [October 30, 2018, 1:46am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2883 "2018-10-30T01:46:24Z")

</div>

> [@Werbel](#):
>
> Thanks for your answer! Good to know at what state we are at point.

You too, sent you a copy of the module, though it is bound to my main plugin as I tied the controller profiles to 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:** [November 1, 2018, 12:46am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2885 "2018-11-01T00:46:20Z")

</div>

I had to update that module btw, was missing something needed for compilation.

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [November 2, 2018, 12:13pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2886 "2018-11-02T12:13:40Z")

</div>

Hi, Thanks for Plugin!

I’m trying to use a few function from (cause with 4.20 OpenVRExpansionPlugin give stuck on the first run):  
SetSkyboxOverride\_LatLong() and ClearSkyboxOverride()

But I have a couple errors (mostly linker I guess) with . Please help implement simple version of functionality without logs and platform checking.

[http://joxi.ru/V2Vn8ZYsd03EL2](http://joxi.ru/V2Vn8ZYsd03EL2)  
[http://joxi.ru/Drla14phV4PbRm](http://joxi.ru/Drla14phV4PbRm)

---

<div class="post-metadata">

**Author:** ![TechAnim\_Tools](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techanim_tools/32/1213818_2.png) [@TechAnim\_Tools](https://forums.unrealengine.com/u/TechAnim_Tools)\
**Post date:** [November 2, 2018, 2:26pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2887 "2018-11-02T14:26:03Z")

</div>

Trying to figure out some stuff and repurpose the Vive Pawn Character…is there a way to disable the wrist controller orientation, and just have the teleportation whitout changing the player orientation?  
I have an old 4.19 build, and looks like the wrist orientation is not working as expected, so I would like to completely disable 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:** [November 2, 2018, 3:10pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2888 "2018-11-02T15:10:00Z")

</div>

> [@Enter\_Reality](#):
>
> Trying to figure out some stuff and repurpose the Vive Pawn Character…is there a way to disable the wrist controller orientation, and just have the teleportation whitout changing the player orientation?  
> I have an old 4.19 build, and looks like the wrist orientation is not working as expected, so I would like to completely disable it

Its not using wrist orientation, it is using thumbpad orientation. RR had wrist orientation, not the default template (or at least not originally, it may now I haven’t looked at it in many versions).

You can switch it over to wrist based rotation yourself, its not hard, also I think there is a boolean that turns off the rotation entirely on the teleport controllers.

---

<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:** [November 2, 2018, 3:12pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2889 "2018-11-02T15:12:22Z")

</div>

> [@6r0m](#):
>
> Hi, Thanks for Plugin!
> 
> I’m trying to use a few function from (cause with 4.20 OpenVRExpansionPlugin give stuck on the first run):  
> SetSkyboxOverride\_LatLong() and ClearSkyboxOverride()
> 
> But I have a couple errors (mostly linker I guess) with . Please help implement simple version of functionality without logs and platform checking.
> 
> [VRLoadPano - Microsoft Visual Studio (Administrator) (726 kb) закачан 2 ноября 2018 г. Joxi](http://joxi.ru/V2Vn8ZYsd03EL2)  
> [VRLoadPano - Microsoft Visual Studio (Administrator) (614 kb) закачан 2 ноября 2018 г. Joxi](http://joxi.ru/Drla14phV4PbRm)

Its normal for the engine to “get stuck” on loading into a new version, it pre-generates the derived data cache to speed up future engine work, unless something is terribly broken you need to just wait it out on that first load.

As for your custom blueprint library, you can’t just copy paste nodes over, you need to include the correct modules that contain the referenced classes as well as include the headers for them.

Also the platform checks don’t hurt anything, they are pre-compile step removed if on the correct platform, the logging is also very little perf and lets you know when you have something incorrect, you should be doing the pointer validation REGARDLESS of if you are logging on fail or not, just to ensure stability.

---

<div class="post-metadata">

**Author:** ![TechAnim\_Tools](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techanim_tools/32/1213818_2.png) [@TechAnim\_Tools](https://forums.unrealengine.com/u/TechAnim_Tools)\
**Post date:** [November 2, 2018, 9:26pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2890 "2018-11-02T21:26:39Z")

</div>

> [@](#):
>
> Its not using wrist orientation, it is using thumbpad orientation. RR had wrist orientation, not the default template (or at least not originally, it may now I haven’t looked at it in many versions).
> 
> You can switch it over to wrist based rotation yourself, its not hard, also I think there is a boolean that turns off the rotation entirely on the teleport controllers.

Thanks, it was easier then I thought, since I just unplugged the Teleport destination rotation, as shown below:

 ![Disable-Rotation.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/3/9d3337207f383331123c81efa693ba0cd96d834d.jpeg)

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [November 6, 2018, 6:05am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2891 "2018-11-06T06:05:26Z")

</div>

> [@](#):
>
> Its normal for the engine to “get stuck” on loading into a new version

Its doesn’t stuck on loading - it’s stuck when play. Engine completely dead after . You can’t kill process by task, only reboot, but after normal work.  
Can you check compatibility with 4.20 (OpenVRExpansionPlugin , functions that I mentioned)?

For my library I’m tryed include all classes, but maybe didn’t make some #define or other cpp magic stuff (on the screens I gave - there is all code with one (I guess) linker error)

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

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