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

<div class="post-metadata">

**Author:** ![Sooth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sooth](https://forums.unrealengine.com/u/Sooth)\
**Post date:** [November 12, 2018, 6:01pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2933 "2018-11-12T18:01:22Z")

</div>

I could not see where you could change the grip type on the fly. I’m using UE 4.18.3 at the moment.

---

<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 12, 2018, 6:52pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2934 "2018-11-12T18:52:45Z")

</div>

> [@Sooth](#):
>
> I could not see where you could change the grip type on the fly. I’m using UE 4.18.3 at the moment.

SetGripCollisionType in the motion controller

---

<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:** [November 13, 2018, 11:39pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2935 "2018-11-13T23:39:47Z")

</div>

> [@ZeroVector](#):
>
> Thanks , Best way to learn is to dabble… LOL… I’ll keep playing around with it until I get it right… I am a newby at and I’ll just leave it to time and practice till I understand more… I’ll let you know when I have worked it out… I like a good challenge and it be a good bit of learning to move forward with VR stuff… Thanks for given your time 🙂

I found another way to work with the GrappleGun… I duplicated the existing GrappleGun BP and changed the gun to a object I could attach to the hand and use the other hand to pick it up… It works fine for what I need it for… Just a quick question… How do I drop it? I am sure it was the grip button on the motion controller that is using the grapple… But it does not do anything when i press the grip…

---

<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 14, 2018, 1:28am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2936 "2018-11-14T01:28:33Z")

</div>

> [@ZeroVector](#):
>
> I found another way to work with the GrappleGun… I duplicated the existing GrappleGun BP and changed the gun to a object I could attach to the hand and use the other hand to pick it up… It works fine for what I need it for… Just a quick question… How do I drop it? I am sure it was the grip button on the motion controller that is using the grapple… But it does not do anything when i press the grip…

In the template the gameplay tags on grippables define what buttons grip / drop them and when. If you don’t have any tags on them then it uses the defaults which are (default) set to trigger push / release.

---

<div class="post-metadata">

**Author:** ![granularclouds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@granularclouds](https://forums.unrealengine.com/u/granularclouds)\
**Post date:** [November 15, 2018, 9:36am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2937 "2018-11-15T09:36:26Z")

</div>

Hey there,

I had question about getting up and running with a networked VR experience with plugin.

I’m comfortable working with blueprints and have built a few projects in Unreal for VR, but have no real familiarity with multiplayer/networking, besides a fast and dirty understanding of the server-client model and replication of variables and functions.

Given that background, if I’m looking to build a multiplayer VR experience (as a grad student on a deadline), would you recommend using the template level as a base and subtracting the actors, BPs, and functionality within certain BPs that aren’t relevant to my project? So, basically building my project around the player controller and the networked functionality in the pawn BP that exist in the template level, as well as some of the other stuff that controls multiplayer (like the stuff in the 3DMenu, etc).

Or do you think it’d be more efficient to sort of copy or use as a reference some of the multiplayer functionality from the BPs in the template level when building my own project, with the plugin of course enabled?

Also, the game mode seems to be in C++ (unless it’s totally blank by design?). If I were to build my project onto the template level, would it be “safe” to work with the event graph of the game mode BP?

Any help or guidance would be super appreciated, and thanks so much for putting all the hard work into plugin. It’s helped me learn a bunch of different things about blueprints already.

---

<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 15, 2018, 11:42am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2938 "2018-11-15T11:42:52Z")

</div>

> [@detlefholz](#):
>
> Hey there,
> 
> I had question about getting up and running with a networked VR experience with plugin.
> 
> I’m comfortable working with blueprints and have built a few projects in Unreal for VR, but have no real familiarity with multiplayer/networking, besides a fast and dirty understanding of the server-client model and replication of variables and functions.
> 
> Given that background, if I’m looking to build a multiplayer VR experience (as a grad student on a deadline), would you recommend using the template level as a base and subtracting the actors, BPs, and functionality within certain BPs that aren’t relevant to my project? So, basically building my project around the player controller and the networked functionality in the pawn BP that exist in the template level, as well as some of the other stuff that controls multiplayer (like the stuff in the 3DMenu, etc).
> 
> Or do you think it’d be more efficient to sort of copy or use as a reference some of the multiplayer functionality from the BPs in the template level when building my own project, with the plugin of course enabled?
> 
> Also, the game mode seems to be in C++ (unless it’s totally blank by design?). If I were to build my project onto the template level, would it be “safe” to work with the event graph of the game mode BP?
> 
> Any help or guidance would be super appreciated, and thanks so much for putting all the hard work into plugin. It’s helped me learn a bunch of different things about blueprints already.

If its not a “full game” and is something you are on a deadline for, then yes, I actually would suggest re-factoring the template level, that would be one of the few cases where I think it fits perfectly since it is made to be very flexible and is already working in multiplayer.

I suggest people start by using it as a reference normally for a full game because its better to only implement what features you need (keep it lean) and they can work the interaction design into their own workflow preferences.

And no, I don’t have anything implemented with the game mode, it was serving as some spawning logic originally but I moved things around, there is no “game” logic in the template so its a clean slate.

---

<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:** [November 17, 2018, 8:30am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2939 "2018-11-17T08:30:04Z")

</div>

> [@ZeroVector](#):
>
> I found another way to work with the GrappleGun… I duplicated the existing GrappleGun BP and changed the gun to a object I could attach to the hand and use the other hand to pick it up… It works fine for what I need it for… Just a quick question… How do I drop it? I am sure it was the grip button on the motion controller that is using the grapple… But it does not do anything when i press the grip…

Just a quicky… As I said above I duplicated the existing GrappleGun BP… Thanks for given me info on the dropping… Can you give any advice on issue I have… Have spent a few hours trying to find what is causing it… So I have 2 duplicated GrappleGun BP, called GappleToolLeft and GappleToolRight and I have ligned them up to each hand. But when I activate either of them by using the opposite motion controller like you would by picking htem up from the floor and one is active. The object which I am using for it is locked in place on the hand which I am firing the grapping from but when i move the other motion controller it shakes the object… God is hard to explain LOL…

Basically I have 2 duplicated GrappleGun BP, called GappleToolLeft and GappleToolRight… When one is active on say the right motion controller… The left motion controller shakes the object attached to the hand of the right motion controller… The object use to be the gun on the GrappleGun BP… I changed it to say a wrist band.

Very sorry if is confusing…

---

<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:** [November 17, 2018, 2:47pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2940 "2018-11-17T14:47:57Z")

</div>

> [@ZeroVector](#):
>
> Just a quicky… As I said above I duplicated the existing GrappleGun BP… Thanks for given me info on the dropping… Can you give any advice on issue I have… Have spent a few hours trying to find what is causing it… So I have 2 duplicated GrappleGun BP, called GappleToolLeft and GappleToolRight and I have ligned them up to each hand. But when I activate either of them by using the opposite motion controller like you would by picking htem up from the floor and one is active. The object which I am using for it is locked in place on the hand which I am firing the grapping from but when i move the other motion controller it shakes the object… God is hard to explain LOL…
> 
> Basically I have 2 duplicated GrappleGun BP, called GappleToolLeft and GappleToolRight… When one is active on say the right motion controller… The left motion controller shakes the object attached to the hand of the right motion controller… The object use to be the gun on the GrappleGun BP… I changed it to say a wrist band.
> 
> Very sorry if is confusing…

Happy days, I have resolved the problem on my own… Been good learning… So ignore post now 🙂

---

<div class="post-metadata">

**Author:** ![Ethan\_Sherr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ethan\_Sherr](https://forums.unrealengine.com/u/Ethan_Sherr)\
**Post date:** [November 18, 2018, 7:26pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2941 "2018-11-18T19:26:57Z")

</div>

Hello! I recently upgraded to ue4 4.21. I ran into an issue with the 4.21 version of the plugin:

Like it says, inline function HandleGripReplication is not defined here! It’s defined in the GripMotionControllerComponent.cpp though, so I fixed the issue by removing the “inline” in method declaration.

 ![Icon128.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/9/c9fdd999d42298ef02c2660bdf48dc7042de4743.png)

Is that the way to go? 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:** [November 18, 2018, 7:31pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2942 "2018-11-18T19:31:05Z")

</div>

> [@Ethan\_Sherr](#):
>
> Hello! I recently upgraded to ue4 4.21. I ran into an issue with the 4.21 version of the plugin:
> 
> Like it says, inline function HandleGripReplication is not defined here! It’s defined in the GripMotionControllerComponent.cpp though, so I fixed the issue by removing the “inline” in method declaration.
> 
> [vrexpansionpluginissue.png](https://forums.unrealengine.com/core/filedata/fetch?id=1553198&d=)
> 
> Is that the way to go? Thanks.

That has actually been fixed for a couple of weeks now, I forgot to move it back into the header when I inlined it.

I may need to re-build the binary package though, the Repo version is up to date. As for that fixing it, yes just removing the inline specifier would also fix it.

---

<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:** [November 19, 2018, 8:37am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2943 "2018-11-19T08:37:16Z")

</div>

Just a quick question, will not go to much in to details… Cause its to long… But hope is not to hard. If you could be kind enough to point me in the right direction… How would I go about when I pickup the GrappleGun with the right hand, so the right hand will be holding it. How can I fire it with the left hand trigger?

---

<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 19, 2018, 1:21pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2944 "2018-11-19T13:21:32Z")

</div>

> [@ZeroVector](#):
>
> Just a quick question, will not go to much in to details… Cause its to long… But hope is not to hard. If you could be kind enough to point me in the right direction… How would I go about when I pickup the GrappleGun with the right hand, so the right hand will be holding it. How can I fire it with the left hand trigger?

You’ll have to do some custom scripting for that to pass the information in or do something else, its not setup out of the box for non interacting input events (from hands that aren’t using the object).

The easiest method would be to bind to input on it when picked up and non blocking sample the inputs of the other controller, easy enough.

---

<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:** [November 21, 2018, 1:16pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2945 "2018-11-21T13:16:01Z")

</div>

> [@](#):
>
> You’ll have to do some custom scripting for that to pass the information in or do something else, its not setup out of the box for non interacting input events (from hands that aren’t using the object).
> 
> The easiest method would be to bind to input on it when picked up and non blocking sample the inputs of the other controller, easy enough.

Thanks , I still new to all of … But I am surprised how far I have got so far with it… So next step try what u suggested “The easiest method would be to bind to input on it when picked up and non blocking sample the inputs of the other controller, easy enough.”, best way with all of is break it down and problem solve it until I work it out and get it working… Youtube will help also to find answers LOL … Thanks again your a star, keep up great work, you are really helping people… 🙂

---

<div class="post-metadata">

**Author:** ![Kosar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kosar](https://forums.unrealengine.com/u/Kosar)\
**Post date:** [November 22, 2018, 10:13pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2946 "2018-11-22T22:13:12Z")

</div>

First thing first I would like to thank you for amazing plugin. Its truly an amazing tool to have.

Im currently prototyping a zero G controls and movements. I have managed to get a working thrust as well as a brake option. Since my character just floats even after not inputting any movement, I tried many different approach to have a gradual braking option. Nothing seem to have worked except for Stop Movement Immediately. When I do use it, it brings the character to a complete stop instantly. What I want is to make braking a little gradual. Is there anyway to achieve ?

---

<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 24, 2018, 2:49am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2947 "2018-11-24T02:49:00Z")

</div>

> [@Kosar](#):
>
> First thing first I would like to thank you for amazing plugin. Its truly an amazing tool to have.
> 
> Im currently prototyping a zero G controls and movements. I have managed to get a working thrust as well as a brake option. Since my character just floats even after not inputting any movement, I tried many different approach to have a gradual braking option. Nothing seem to have worked except for Stop Movement Immediately. When I do use it, it brings the character to a complete stop instantly. What I want is to make braking a little gradual. Is there anyway to achieve ?

Apply some impulse in the opposing direction and slow down…You aren’t really supposed to come to a stop in real Zero-G naturally unless there is a source of friction like a fairly thick atmosphere.

Could do some custom velocity degradation as well. If you really wanted to get intricate, tying in physics volumes with friction values could be interesting.

---

<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:** [November 24, 2018, 10:44am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2948 "2018-11-24T10:44:41Z")

</div>

> [@ZeroVector](#):
>
> Thanks , I still new to all of … But I am surprised how far I have got so far with it… So next step try what u suggested “The easiest method would be to bind to input on it when picked up and non blocking sample the inputs of the other controller, easy enough.”, best way with all of is break it down and problem solve it until I work it out and get it working… Youtube will help also to find answers LOL … Thanks again your a star, keep up great work, you are really helping people… 🙂

: Ok, I have spent a lot of time trying to get to work… And I have settled on the way I have got it working now… Its a long story so I will just ask one question if you do not mind which can be a solution for me… I hope its not to much trouble… Ok, when you pickup the grapple gun to active the grapple on the hand you pick it up with, is there away to not pick up the gun mesh and just leave it in place where it was position before game start? Its just i have replace the gun with a mesh that is attached to my wrist on the hand. And when i trigger it with my other hand it attaches to that hand and when i drop it i can never get it back in the original position… I have try over and over for hours… I am so close to what I want now… Its just one thing…To leave the gun/my mesh in place when pickup…

---

<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 24, 2018, 3:08pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2949 "2018-11-24T15:08:36Z")

</div>

> [@ZeroVector](#):
>
> : Ok, I have spent a lot of time trying to get to work… And I have settled on the way I have got it working now… Its a long story so I will just ask one question if you do not mind which can be a solution for me… I hope its not to much trouble… Ok, when you pickup the grapple gun to active the grapple on the hand you pick it up with, is there away to not pick up the gun mesh and just leave it in place where it was position before game start? Its just i have replace the gun with a mesh that is attached to my wrist on the hand. And when i trigger it with my other hand it attaches to that hand and when i drop it i can never get it back in the original position… I have try over and over for hours… I am so close to what I want now… Its just one thing…To leave the gun/my mesh in place when pickup…

Just take all of the logic of the grapple gun…and put it inside of an actor component or static mesh component that you add to the pawn…

---

<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 24, 2018, 3:17pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2950 "2018-11-24T15:17:57Z")

</div>

> [@](#):
>
> Apply some impulse in the opposing direction and slow down…You aren’t really supposed to come to a stop in real Zero-G naturally unless there is a source of friction like a fairly thick atmosphere.
> 
> Could do some custom velocity degradation as well. If you really wanted to get intricate, tying in physics volumes with friction values could be interesting.

> [@Kosar](#):
>
> First thing first I would like to thank you for amazing plugin. Its truly an amazing tool to have.
> 
> Im currently prototyping a zero G controls and movements. I have managed to get a working thrust as well as a brake option. Since my character just floats even after not inputting any movement, I tried many different approach to have a gradual braking option. Nothing seem to have worked except for Stop Movement Immediately. When I do use it, it brings the character to a complete stop instantly. What I want is to make braking a little gradual. Is there anyway to achieve ?

Actually I forgot something, I do have fluid friction already enabled with physics volumes and low grav mode.

If you set to false: VRLowGravIgnoresDefaultFluidFriction (default is true) then it will use the default physics volume (or the current one that you are inside of) and apply its fluid friction value to the velocity.

I also have a wall friction scaler that you can play with for when hitting walls.

---

<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:** [November 24, 2018, 6:02pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2951 "2018-11-24T18:02:54Z")

</div>

> [@](#):
>
> Just take all of the logic of the grapple gun…and put it inside of an actor component or static mesh component that you add to the pawn…

Thank you, I have been thinking about removing it from the GunBase and just take the Logic from the grapple gun and making my own… I will have to learn abit more about . But when I get it working… I’ll share my project with the community to help others on forum… Thank you so much… I’ll work it out, just needed to be reassured… Thank you… I have it so u have a bracelet on each wrist and when u press the button with the other hand you get the grapple on that hand… Thinking on the basis if u was climbing and u was holding on to the cliff with one hand u still can activate the grapple with the other hand with the bracelet on the hand holding on to the cliff and swing away from the cliff for example… I’ll make a video of functionally and share my project here… I want to give back as u have helped me a lot and pointed me in the right direction… Its only fair to share what i hope to do back to the community. 🙂 I’m abit old school… So have abit of background knowledge, but back in the 90’s on the old Amiga computer and been a web developer for years… LOL… But want get back into it and UE4 is the way to go… Unreal… 🙂

---

<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 26, 2018, 6:05pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2952 "2018-11-26T18:05:25Z")

</div>

Updated the auto documentation, sorry it took so long but I had to sit down and fix some compilation errors in the auto doc gen plugin that were caused by the engine now requiring visual studio 2017 and patch 4.21.

Haven’t seen any recent updates to that plugin on the original repo so I may end up having to maintain it for my use :(.

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

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