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

<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 3, 2018, 2:29pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1969 "2018-01-03T14:29:21Z")

</div>

Pushed a new commit to the template/plugin

Template

```auto

Added a new gameplay tag "Interactible.UsePerBoneGripping" and new blueprint changes to support it.
Has to be specifically defined as we have to pass in a different transform with per bone, as well as only tracing
being able to do it (overlaps do not return hit bones....).

```

Plugin

```auto

Merged in the upcoming 4.19 movement replication changes.
It simplifies and speeds up the movement system as well as moves the RPCS into the character itself to save on some bandwidth.

Changed charactermovements default for MaxAcel and BrakingDeaccel to very high values.
 effectively makes characters use no acceleration and de-acceleration when moving.
I had in BP before but it really should be defaulted like in code so that people making new characters don't leave
acceleration on with the characters.
Re-setting these values back to 2048.f engine defaults will restore normal engine operation for them.

Added per bone gripping to the physics grip styles.
Using these correctly requires passing in the bone name and USING THE BONES WORLD TRANSFORM NOT THE ACTOR/COMPONENTS.
If you do not pass in a bone name to the gripping function then it won't know what bone to grip at and will just grip it like a
normal component.
Also if you don't use the bones world transform then it will not be correctly positioned during gripping.

Per bone gripping is only enabled for physics grips for obvious reasons.

I left in the old hacked method of applying the root bone rotation when a bone name isn't given to keep backwards compatibility.

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b20ed723](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b20ed723](https://forums.unrealengine.com/u/anonymous_user_b20ed723)\
**Post date:** [January 5, 2018, 12:05am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1970 "2018-01-05T00:05:51Z")

</div>

I’m trying to use a lever, and for the life of me, I’m at a total loss. I set up the lever using the NativeLeverActor as reference with its VRLeverComponent. But for some reason, when I grip the component, i.e. lever, I pull the lever right off of the base. It won’t stay attached! Nor does it work.

Am I missing something simple? Feels that way. All I’m doing is calling the GripMotionController-\>GripComponent() function on it. Is there something else I should be doing? Something more to the setup that I’ve missed.

For what it’s worth, my character is based on the AVRSimpleCharacter.

EDIT: When set to a physics lever, it sorta works, but the lever shakes the whole time and keeps jumping out of its base… And I have no trouble picking up / gripping GrippableStaticMeshActors.

---

<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 5, 2018, 2:26am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1971 "2018-01-05T02:26:32Z")

</div>

> [@christian\_svr](#):
>
> I’m trying to use a lever, and for the life of me, I’m at a total loss. I set up the lever using the NativeLeverActor as reference with its VRLeverComponent. But for some reason, when I grip the component, i.e. lever, I pull the lever right off of the base. It won’t stay attached! Nor does it work.
> 
> Am I missing something simple? Feels that way. All I’m doing is calling the GripMotionController-\>GripComponent() function on it. Is there something else I should be doing? Something more to the setup that I’ve missed.
> 
> For what it’s worth, my character is based on the AVRSimpleCharacter.
> 
> EDIT: When set to a physics lever, it sorta works, but the lever shakes the whole time and keeps jumping out of its base… And I have no trouble picking up / gripping GrippableStaticMeshActors.

You need to GripByInterface with the interactibles, otherwise late updates will be on which ignore boundries and limits. Well, that or set the late update setting on the grip function to “Never” when gripping a lever.

Again though, its best to grip by interface with the interactibles as their logic is CustomGrip driven and relies on it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b20ed723](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b20ed723](https://forums.unrealengine.com/u/anonymous_user_b20ed723)\
**Post date:** [January 5, 2018, 4:34pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1972 "2018-01-05T16:34:42Z")

</div>

Holy cow, it works! Thank you so much for that. I knew it was something simple. See, I was referring to the example project, and I just couldn’t find where you were calling these functions. And in the wiki docs, it says “When you wish to pick up an object call the components “GripObject” function”. Hence, my confusion.

Thanks so much!

---

<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 5, 2018, 5:18pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1973 "2018-01-05T17:18:13Z")

</div>

> [@christian\_svr](#):
>
> Holy cow, it works! Thank you so much for that. I knew it was something simple. See, I was referring to the example project, and I just couldn’t find where you were calling these functions. And in the wiki docs, it says “When you wish to pick up an object call the components “GripObject” function”. Hence, my confusion.
> 
> Thanks so much!

Yeah sorry, I should have gone and re-worded that section a bit when the interface became an official part of the plugin.

---

<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 7, 2018, 7:05pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1974 "2018-01-07T19:05:02Z")

</div>

Still WIP, but I did finally decide to add a gestures module to the plugin

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/2/592705a11546f994eb952b78056d25aac86b8a78.jpeg "UE4 VR Plugin, testing Gesturing") ](https://www.youtube.com/watch?v=E7D-Ra5mmVc)

---

<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 8, 2018, 3:56pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1975 "2018-01-08T15:56:59Z")

</div>

Added another game using the plugin to the list of use cases

[Bartender VR Simulator](http://store.steampowered.com/app/704300/Bartender_VR_Simulator/)

---

<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:** [January 9, 2018, 11:37am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1977 "2018-01-09T11:37:22Z")

</div>

I just start checking both base VR Character, I want co create a new Character for then hack for my desired porpouse and also learn better, I’m between VRCharacter or VRSimpleCharacter base, read in the wiki than simple is lighter for the capsulle resizing over network. But realized than Simple one has VRSceneComponent added, how affects component at the end to choose better for project?

---

<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 9, 2018, 1:24pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1978 "2018-01-09T13:24:00Z")

</div>

> [@mandango](#):
>
> I just start checking both base VR Character, I want co create a new Character for then hack for my desired porpouse and also learn better, I’m between VRCharacter or VRSimpleCharacter base, read in the wiki than simple is lighter for the capsulle resizing over network. But realized than Simple one has VRSceneComponent added, how affects component at the end to choose better for project?

Simple character was made because it is least likely to break due to engine changes, it doesn’t touch anywhere near as many base character systems.

The VRCharacter is a near total re-write at point and adds dozens of new features, I suggest using the VRCharacter for people just using the plugin, but for making your own off of it, the Simple may be easier to grasp?

Capsule resizing over network is the same cost for either character, it is re-creating the capsule on the physics scene so its a static cost. If the collision shape wasn’t a capsule we could just scale the thing in Z to resize but the caps would be warped as is so we have to re-create it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3534b96c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3534b96c](https://forums.unrealengine.com/u/anonymous_user_3534b96c)\
**Post date:** [January 9, 2018, 2:21pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1979 "2018-01-09T14:21:41Z")

</div>

I’m trying to test out the template but I can’t download it from bitbucket. Am I the only one here? it seems to me that the website is quite unstable

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_50b6f9df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_50b6f9df](https://forums.unrealengine.com/u/anonymous_user_50b6f9df)\
**Post date:** [January 9, 2018, 3:49pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1980 "2018-01-09T15:49:42Z")

</div>

@, I was able to download it twice from two different locations yesterday.

---

<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 9, 2018, 3:59pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1981 "2018-01-09T15:59:12Z")

</div>

Bitbucket was having a hiccup morning is all.

---

<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 10, 2018, 6:56pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1982 "2018-01-10T18:56:01Z")

</div>

Added another use case to the list of games using the plugin

[Contagion VR Outbreak](https://steamdb.info/app/778490/) - WIP - Demo out only so far

---

<div class="post-metadata">

**Author:** ![ZeothulBrian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeothulBrian](https://forums.unrealengine.com/u/ZeothulBrian)\
**Post date:** [January 11, 2018, 12:41am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1983 "2018-01-11T00:41:41Z")

</div>

Hi , just wanted to share a video of what I am making with the plugin. I’ll be live-streaming more dev so I’ll be giving lots of shout outs to attract more users to your plugin!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/0/8804442ea8684ab7313a5de4238ddfe71faffcaa.jpeg "BearHammer Games Development Live Stream #1") ](https://www.youtube.com/watch?v=QI1IA0lnebA)

I also just wanted to say thank you, I don’t know if I would be doing VR dev without your plugin so if somehow my game ends up being successful I will not forget everything you have done for Indie vr devs.

---

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

</div>

> [@ZeothulBrian](#):
>
> Hi , just wanted to share a video of what I am making with the plugin. I’ll be live-streaming more dev so I’ll be giving lots of shout outs to attract more users to your plugin!
> 
> [https://youtu.be/QI1IA0lnebA](https://youtu.be/QI1IA0lnebA)
> 
> I also just wanted to say thank you, I don’t know if I would be doing VR dev without your plugin so if somehow my game ends up being successful I will not forget everything you have done for Indie vr devs.

Looks neat, good luck!

---

<div class="post-metadata">

**Author:** ![weares](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@weares](https://forums.unrealengine.com/u/weares)\
**Post date:** [January 12, 2018, 9:31am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1985 "2018-01-12T09:31:28Z")

</div>

Hey ! I wonder to know if is possible to change controls in car. I mean, is possible to change the way you apply thrust, for example with motion controller triggers: right to accelerate and left to brake instead with the lever.

Thanks for your time. Have a nice daay!!

---

<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 13, 2018, 2:16am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1986 "2018-01-13T02:16:22Z")

</div>

> [@weares](#):
>
> Hey ! I wonder to know if is possible to change controls in car. I mean, is possible to change the way you apply thrust, for example with motion controller triggers: right to accelerate and left to brake instead with the lever.
> 
> Thanks for your time. Have a nice daay!!

Yeah, its just a normal physx car, rebind the inputs instead of using the physical inputs. I only did physical controls because it is something neat that isn’t possible outside of VR.

---

<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 13, 2018, 2:17am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1987 "2018-01-13T02:17:37Z")

</div>

Updated Contagion Outbreak VR link to actual store page.

https://store.steampowered.com/widget/676840

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_50b6f9df](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_50b6f9df](https://forums.unrealengine.com/u/anonymous_user_50b6f9df)\
**Post date:** [January 13, 2018, 2:22am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1988 "2018-01-13T02:22:45Z")

</div>

> [@](#):
>
> Updated Contagion Outbreak VR link to actual store page.
> 
> [Contagion VR: Outbreak on Steam](http://store.steampowered.com/app/676840/Contagion_VR_Outbreak/)

Rad! Any demo keys before official release?

---

<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 13, 2018, 3:25am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/1989 "2018-01-13T03:25:46Z")

</div>

> [@LCCssumsion](#):
>
> Rad! Any demo keys before official release?

Pretty sure they have a free demo, you can just download it

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

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