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

<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:** [April 14, 2020, 12:53am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3831 "2020-04-14T00:53:52Z")

</div>

> [@Lex713](#):
>
> 1. Ok so I’m going to use that as the base relative transform.
> 
> 2. I don’t want it to wrap around the index controller I want to make a custom remote control in game and have the hands wrap around it if you are holding that certain remote.
> 
> 3. I just pressed run with dedicated server. If I turn the dedicated server off it doesn’t crash. If I keep the dedicated server on with steam vr compressed transforms it doesn’t crash.

1. Then you need to use actual hand poses, the steamVR full transforms only have the two transform sets in each controller driver (controller and fist). You can read the curl values from them though and blend between a closed and open animation on your custom remote control per finger.

2. I already fixed and uploaded it, it was only in the curl states though.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_462a5de6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_462a5de6](https://forums.unrealengine.com/u/anonymous_user_462a5de6)\
**Post date:** [April 17, 2020, 1:31pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3832 "2020-04-17T13:31:18Z")

</div>

Hi !

I have a very very weird bug I don’t understand.  
I am making a game using replication to display what the player with oculus quest is seeing on a computer (with a spectator pawn attach, both on the same wifi)

At some point on my map (1/4 of the map) if the player with the quest is inside area, the tracking seems not to work. If If move the head (in location, not in rotation) the wolrd move with it. Like in a 3DoF headset. If I’m teleporting outside area, everything works well.

There is nothing special I can think about in area that limit it.  
I don’t understand what could possibly make happen and is annoying because It make part of the game really uncomfortable.

---

<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:** [April 17, 2020, 1:36pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3833 "2020-04-17T13:36:39Z")

</div>

> [@Max\_mne](#):
>
> Hi !
> 
> I have a very very weird bug I don’t understand.  
> I am making a game using replication to display what the player with oculus quest is seeing on a computer (with a spectator pawn attach, both on the same wifi)
> 
> At some point on my map (1/4 of the map) if the player with the quest is inside area, the tracking seems not to work. If If move the head (in location, not in rotation) the wolrd move with it. Like in a 3DoF headset. If I’m teleporting outside area, everything works well.
> 
> There is nothing special I can think about in area that limit it.  
> I don’t understand what could possibly make happen and is annoying because It make part of the game really uncomfortable.

Do you have a collision volume that is blocking the character in that area? Also you aren’t using the simple character in navigation walking mode are you? That could happen with that as well if the navigation bounds are non existant.

Otherwise, no, there isn’t anything that would cause that.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_462a5de6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_462a5de6](https://forums.unrealengine.com/u/anonymous_user_462a5de6)\
**Post date:** [April 17, 2020, 3:29pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3834 "2020-04-17T15:29:48Z")

</div>

There is no collision volume AFAIK I will double check if any SM has wrong collision volume  
I am using the simple character but only with teleportation. Maybe there is a variable somewhere I should diseable ?  
There is navmeshbounds volume But it is Wider than the play area because it is in persistent and I stream multiple level. Maybe I should make one navmesh by sublevel ?

---

<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:** [April 17, 2020, 11:38pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3835 "2020-04-17T23:38:06Z")

</div>

> [@Max\_mne](#):
>
> There is no collision volume AFAIK I will double check if any SM has wrong collision volume  
> I am using the simple character but only with teleportation. Maybe there is a variable somewhere I should diseable ?  
> There is navmeshbounds volume But it is Wider than the play area because it is in persistent and I stream multiple level. Maybe I should make one navmesh by sublevel ?

The character doesn’t normally use navmesh for movement, only if you change the movement mode. But the last time someone had issue they had placed some random spheres in their level invisible with huge hit boxes.

---

<div class="post-metadata">

**Author:** ![codePeas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/codepeas/32/1194613_2.png) [@codePeas](https://forums.unrealengine.com/u/codePeas)\
**Post date:** [April 19, 2020, 1:43pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3836 "2020-04-19T13:43:12Z")

</div>

Hello, quick question: Is there any way to make a physics object not grabbable?

---

<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:** [April 19, 2020, 5:03pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3837 "2020-04-19T17:03:57Z")

</div>

> [@kwijibojaner](#):
>
> Hello, quick question: Is there any way to make a physics object not grabbable?

As in a non grippable one? I have a default branch to pick up physics objects just to show how to do it, you would just have to add your own qualifiers or unlink the nodes for it in the template project.

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/2/112b032eae15be854da4cb0ece65b7a8fcc4a9eb.png)  
section does that, would just have to unlink it in GripOrDropObjectClean

---

<div class="post-metadata">

**Author:** ![Plenty10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Plenty10](https://forums.unrealengine.com/u/Plenty10)\
**Post date:** [April 19, 2020, 6:55pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3839 "2020-04-19T18:55:45Z")

</div>

Hello!

I have been tackling a problem, I am trying to attach the VR character (I am using the same one that is in the example template) to a socket that I set on a mesh, so I used attachToComponent node(location and rotation set snap to targer, scale set to world). The actor attaches fine, but when the mesh starts to move the character starts moving in the same direction faster and it either shoots out the pawn itself into the air or gets stuck inside a wall. I want the the character would be able to walk inside and not be effected by outside movement. Thank you for great 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:** [April 20, 2020, 3:21am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3840 "2020-04-20T03:21:29Z")

</div>

> [@Plenty10](#):
>
> Hello!
> 
> I have been tackling a problem, I am trying to attach the VR character (I am using the same one that is in the example template) to a socket that I set on a mesh, so I used attachToComponent node(location and rotation set snap to targer, scale set to world). The actor attaches fine, but when the mesh starts to move the character starts moving in the same direction faster and it either shoots out the pawn itself into the air or gets stuck inside a wall. I want the the character would be able to walk inside and not be effected by outside movement. Thank you for great plugin!

Its still in walking mode so its sampling the floors velocity (movement base), characters already handle standing on top of moving objects for you. You either want to not be in walking mode, or disable floor collision, I don’t think there is a setting for not looking for a movement base.

Or of course just not attach, put the character inside as is instead.

My seated mode for things like the template car switches the movement mode out of walking to prevent very thing.

---

<div class="post-metadata">

**Author:** ![Juha\_Ojala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Juha\_Ojala](https://forums.unrealengine.com/u/Juha_Ojala)\
**Post date:** [April 20, 2020, 1:03pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3841 "2020-04-20T13:03:01Z")

</div>

Hello . It’s been a while since I used plugin. Was there a setting to disable the property that causes the player to be pushed away when moving and colliding with the environment? I want the player to go through them instead of being pushed back. I don’t know if there have been any changes to that in newer versions, I am using the 4.23 version. Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_462a5de6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_462a5de6](https://forums.unrealengine.com/u/anonymous_user_462a5de6)\
**Post date:** [April 20, 2020, 3:14pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3842 "2020-04-20T15:14:30Z")

</div>

> [@](#):
>
> The character doesn’t normally use navmesh for movement, only if you change the movement mode. But the last time someone had issue they had placed some random spheres in their level invisible with huge hit boxes.

How can I be sure that walking mode is disabled ?  
Because it doesn’t seem to be collision problem, my character doesn’t hit anything

It seems that my character camera is moving half the speed of the headset (mainly when moving X or Y, not in Z) and not smoothly  
If I disable offset by hmd on the replicated camera the movement is smooth and correct.

---

<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:** [April 20, 2020, 6:18pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3843 "2020-04-20T18:18:05Z")

</div>

> [@Juha\_Ojala](#):
>
> Hello . It’s been a while since I used plugin. Was there a setting to disable the property that causes the player to be pushed away when moving and colliding with the environment? I want the player to go through them instead of being pushed back. I don’t know if there have been any changes to that in newer versions, I am using the 4.23 version. Thanks.

Changing collision settings will do that, it obeys all of the collision settings that you use. There is also the bWalkingCollision setting that lets you flag seperate collision for during locomotion than when just walking around the room so you can have walls block you when sliding, but not block you when just walking in real life with no artificial input.

---

<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:** [April 20, 2020, 6:20pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3844 "2020-04-20T18:20:15Z")

</div>

> [@Max\_mne](#):
>
> How can I be sure that walking mode is disabled ?  
> Because it doesn’t seem to be collision problem, my character doesn’t hit anything
> 
> It seems that my character camera is moving half the speed of the headset (mainly when moving X or Y, not in Z) and not smoothly  
> If I disable offset by hmd on the replicated camera the movement is smooth and correct.

change the movement mode of the character movement component to none (SetMovementMode or SetReplicatedMovementMode). If you didn’t change anything then you are definitely still in walking mode and are receiving additional motion input from the HMD.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_462a5de6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_462a5de6](https://forums.unrealengine.com/u/anonymous_user_462a5de6)\
**Post date:** [April 21, 2020, 12:24pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3845 "2020-04-21T12:24:37Z")

</div>

Changing movement mode didn’t change anything, it’s even worst ! If movement mode is None, the Character doesn’t move anymore at all.

It worked before, but I am unable to find out when something was broke and what I have changed.

There’s something strange about my character :  
It inherits from VRSimpleCharacter, but its hierarchy is different : VRReplicatedCamera, ParentRelativeAttachment and both motion controllers are attach to VRSceneComponent and not directly from NetSmoother. Could it be related ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_462a5de6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_462a5de6](https://forums.unrealengine.com/u/anonymous_user_462a5de6)\
**Post date:** [April 21, 2020, 3:22pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3846 "2020-04-21T15:22:16Z")

</div>

After further investigations, it seems that it’s a replication problem, like if my client was always corrected by the server.  
I don’t know why. I thought I activated all client-authoritative parameters so it shouldn’t

---

<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:** [April 21, 2020, 5:10pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3847 "2020-04-21T17:10:50Z")

</div>

> [@Max\_mne](#):
>
> Changing movement mode didn’t change anything, it’s even worst ! If movement mode is None, the Character doesn’t move anymore at all.
> 
> It worked before, but I am unable to find out when something was broke and what I have changed.
> 
> There’s something strange about my character :  
> It inherits from VRSimpleCharacter, but its hierarchy is different : VRReplicatedCamera, ParentRelativeAttachment and both motion controllers are attach to VRSceneComponent and not directly from NetSmoother. Could it be related ?

VrSceneComponent? That would normally be an issue having a different root, but that shouldn’t even exist in it by default. So yes you may have broken something.

---

<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:** [April 22, 2020, 1:22am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3848 "2020-04-22T01:22:02Z")

</div>

- How would you handle being able to hang off something using a weapon/pull yourself up with weapons ala what Boneworks does with axes and such? If someone asked before and I missed it, feel free to just mention a page number or something rather than reiterating.

Dunno if you’ve seen that in the game, if not I can try and find where it happens for an example.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_462a5de6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_462a5de6](https://forums.unrealengine.com/u/anonymous_user_462a5de6)\
**Post date:** [April 22, 2020, 12:08pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3849 "2020-04-22T12:08:48Z")

</div>

> [@](#):
>
> VrSceneComponent? That would normally be an issue having a different root, but that shouldn’t even exist in it by default. So yes you may have broken something.

Ok I think I corrected part by updating all the plugin.  
But my problem still remain : it seems that there is a replication problem with the pawn location. How can i properly set client-authoritative replication ? I checked bIgnoreClientMovementError and bServerAcceptClientAuthoritative but nothing changed.

It’s clearly related to replication : when i play in editor, if I change remote role to Authority for the client, everything just go fine (for the client part, not for the server but it’s less important for me 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:** [April 22, 2020, 5:41pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3850 "2020-04-22T17:41:04Z")

</div>

> [@n00854180t](#):
>
> - How would you handle being able to hang off something using a weapon/pull yourself up with weapons ala what Boneworks does with axes and such? If someone asked before and I missed it, feel free to just mention a page number or something rather than reiterating.
> 
> Dunno if you’ve seen that in the game, if not I can try and find where it happens for an example.

You could handle it like B&S does where it reads the distance between the held object and the hand and adds a “climbing mode” like adjustment to sync back up.

Boneworks itself is a bit of a special case since it is an entirely simulated body.

---

<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:** [April 22, 2020, 5:42pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3851 "2020-04-22T17:42:40Z")

</div>

> [@Max\_mne](#):
>
> Ok I think I corrected part by updating all the plugin.  
> But my problem still remain : it seems that there is a replication problem with the pawn location. How can i properly set client-authoritative replication ? I checked bIgnoreClientMovementError and bServerAcceptClientAuthoritative but nothing changed.
> 
> It’s clearly related to replication : when i play in editor, if I change remote role to Authority for the client, everything just go fine (for the client part, not for the server but it’s less important for me now)

what exactly is going wrong with it? You haven’t declared what you are running into.

Generally though i have an overview of what to set in section: [VR Expansion Plugin Documentation – VR Expansion Plugin](https://vreue4.com/documentation?section=character-tips)

Generally though, you shouldn’t need it if you are doing your movements correctly.

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

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