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

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [January 24, 2018, 3:42am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2032 "2018-01-24T03:42:41Z")

</div>

I mean if i in Game i need rotate the player if i click on Facebutton!

i use now

 ![Unbenannt.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/a/2a9dc0f3f32c20b33a34039ac9113d790a17e8e9.jpeg)

but with that I rotate around a point, I want to rotate around myself without leaving my position.

And i found a Bug, if i overlap the capsule with my Motion Controller Epics Hands and hold Triger the Character Move forword.

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [January 24, 2018, 4:44am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2033 "2018-01-24T04:44:13Z")

</div>

Until recently, I’ve only used the navigation parts of plugin, which worked great. I want to add some interaction, and I’ve tried migrating the Vive\_Pawn\_Character into a new project from the example project and noticed I can’t grab anything, I’m not sure what could be preventing that. So if you migrated character, and all referenced assets, what else do you need to add to the project to get it to work. I added input mapping, collision trace channels, and game tags to the project settings. What else am I missing, or what do I need to reconnect after migration to a new project? I’m just trying to grab the BP\_Pickup Cube and can’t do it.

---

<div class="post-metadata">

**Author:** ![spaceharry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spaceharry](https://forums.unrealengine.com/u/spaceharry)\
**Post date:** [January 24, 2018, 1:00pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2034 "2018-01-24T13:00:55Z")

</div>

> [@SKYNET2K](#):
>
> but with that I rotate around a point, I want to rotate around myself without leaving my position.  
> .

If set control rotation didnt work as you imagine maybe use the plugins own teleport functionality but only for rotate.

> [@3DMoss](#):
>
> What else am I missing, or what do I need to reconnect after migration to a new project? I’m just trying to grab the BP\_Pickup Cube and can’t do it.

Are you sure that gameplay tags migrated correctly? I had problem once when I migrated gameplay tags and they were all set to default, because in current ue version you have to migrate the gameplaytag list first and set them in the project settings correctly before migrating the character with related gameplay tags in it.

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [January 24, 2018, 1:15pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2035 "2018-01-24T13:15:26Z")

</div>

> [@spaceharry](#):
>
> If set control rotation didnt work as you imagine maybe use the plugins own teleport functionality but only for rotate.
> 
> Are you sure that gameplay tags migrated correctly? I had problem once when I migrated gameplay tags and they were all set to default, because in current ue version you have to migrate the gameplaytag list first and set them in the project settings correctly before migrating the character with related gameplay tags in it.

I migrated DefaultGameplayTags, then set it in the Gameplay Tag Table List in project settings. Is there anything else needed to migrate the tags correctly? What was getting set to default for you? “Relevant Gameplay Tags” on the Vive\_PawnCharacter? What do you mean by " I migrated gameplay tags and they were all set to default"?

If I merge the Vive\_PawnCharacter I customized from my project into the example project, it works fine. Is there something else in the example project that needs those tags?

Thanks!

---

<div class="post-metadata">

**Author:** ![spaceharry](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@spaceharry](https://forums.unrealengine.com/u/spaceharry)\
**Post date:** [January 24, 2018, 1:21pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2036 "2018-01-24T13:21:18Z")

</div>

> [@3DMoss](#):
>
> What do you mean by " I migrated gameplay tags and they were all set to default"?

When you migrate all at once (blueprint and tags) all the gameplay tags will be reset in all the blueprint nodes using gameplay tags. Check the grip blueprint nodes in your character to see if they look the same as in the original example test 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 24, 2018, 1:37pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2037 "2018-01-24T13:37:08Z")

</div>

> [@SKYNET2K](#):
>
> I mean if i in Game i need rotate the player if i click on Facebutton!
> 
> but with that I rotate around a point, I want to rotate around myself without leaving my position.
> 
> And i found a Bug, if i overlap the capsule with my Motion Controller Epics Hands and hold Triger the Character Move forword.

There are utility functions now for , originally I just showed the actual blueprint nodes for how to rotate around the HMD as a pivot but decided later to make shortcuts for people.

Here are the options for doing it quickly:

[PerformMoveAction\_SnapTurn](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacterMovementComponent/nodes/PerformMoveAction_SnapTurn.html) - performs a snap turn (fixed rotation) inline with the character movement system and replication. is specifically created to as there isn’t a direct method normally of custom movements that correctly path in with the movement system in networked games without the possibility of hitching / rollbacks due to packet order and server differences.

[AddActorWorldRotationVR](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacter/nodes/AddActorWorldRotationVR.html) - just adds world rotation to the character but accounts for the HMD location as a pivot point.

[SetActorWorldRotationVR](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacter/nodes/SetActorRotationVR.html) - Same as above except it sets the rotation instead of adding to it

[SetActorRotationAndLocationVR](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacter/nodes/SetActorLocationAndRotationVR.html) - Sets the actors rotation and location, taking into account the HMD offset.

As for grabbing yourself, you likely have your collision channels incorrect. The template uses a VRTrace trace channel for gripping and the player capsule ignores that channel, if you didn’t migrate that trace channel over then you’ll need to re-create it, make a new one, or change the logic for gripping, because the controllers don’t have any pre-set limitations, I let the end user have full control there.

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [January 24, 2018, 1:42pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2038 "2018-01-24T13:42:00Z")

</div>

Yes, they are the same. I don’t think the character is the problem.

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [January 24, 2018, 1:49pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2039 "2018-01-24T13:49:29Z")

</div>

I do have VRTraceChannel in Trace Channels. It is set to ignore on the player capsule, and overlap on the grab spheres just as the example.

---

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

</div>

> [@3DMoss](#):
>
> Until recently, I’ve only used the navigation parts of plugin, which worked great. I want to add some interaction, and I’ve tried migrating the Vive\_Pawn\_Character into a new project from the example project and noticed I can’t grab anything, I’m not sure what could be preventing that. So if you migrated character, and all referenced assets, what else do you need to add to the project to get it to work. I added input mapping, collision trace channels, and game tags to the project settings. What else am I missing, or what do I need to reconnect after migration to a new project? I’m just trying to grab the BP\_Pickup Cube and can’t do it.

Likely need to do the trace channel and tags before migrating the rest to be sure. Though it should work as is and others have done it the same way?

Regardless, if you already started on your own, I wouldn’t suggest migrating the template char over, it was never originally intended to be a base, but a set of examples. Its sooooo generic on interactions (overly so) because it lets people try just about anything with it. If I were to make a specific game however and knew my interactions and button layouts ahead of time, I wouldn’t use the template character for it, it has too much in it for most games and is overly complicated.

The basic [GripObjectByInterface](https://.bitbucket.io/VRExpansionPlugin/VR/GripMotionControllerComponent/nodes/GripObjectByInterface.html) function run off of a trace or overlap lets you use all of the levers and dials and grippables as is. You would only need to handle per bone gripping if you wanted it and slot grip checks which is a self contained node (and AddSecondaryAttachment if you wanted two handed interactions).

I had/have plans on a very simplistic pawn just showing ground zero setup, but it keeps getting pushed back on my TODO.

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [January 24, 2018, 2:13pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2041 "2018-01-24T14:13:13Z")

</div>

Are those the only things required? I have the tags and trace channel in project settings. They were there before migration. Are the tags only referenced by the character?

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [January 24, 2018, 2:19pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2042 "2018-01-24T14:19:13Z")

</div>

> [@](#):
>
> There are utility functions now for , originally I just showed the actual blueprint nodes for how to rotate around the HMD as a pivot but decided later to make shortcuts for people.
> 
> Here are the options for doing it quickly:
> 
> [PerformMoveAction\_SnapTurn](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacterMovementComponent/nodes/PerformMoveAction_SnapTurn.html) - performs a snap turn (fixed rotation) inline with the character movement system and replication. is specifically created to as there isn’t a direct method normally of custom movements that correctly path in with the movement system in networked games without the possibility of hitching / rollbacks due to packet order and server differences.
> 
> [AddActorWorldRotationVR](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacter/nodes/AddActorWorldRotationVR.html) - just adds world rotation to the character but accounts for the HMD location as a pivot point.
> 
> [SetActorWorldRotationVR](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacter/nodes/SetActorRotationVR.html) - Same as above except it sets the rotation instead of adding to it
> 
> [SetActorRotationAndLocationVR](https://.bitbucket.io/VRExpansionPlugin/VR/VRBaseCharacter/nodes/SetActorLocationAndRotationVR.html) - Sets the actors rotation and location, taking into account the HMD offset.
> 
> As for grabbing yourself, you likely have your collision channels incorrect. The template uses a VRTrace trace channel for gripping and the player capsule ignores that channel, if you didn’t migrate that trace channel over then you’ll need to re-create it, make a new one, or change the logic for gripping, because the controllers don’t have any pre-set limitations, I let the end user have full control there.

Yes i read in the Wiki but i dont have the nodes!

I dont use the template i add the plugin to exist Project! I try make my controller colision all ignore but have still the problem

---

<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 24, 2018, 2:27pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2043 "2018-01-24T14:27:50Z")

</div>

> [@3DMoss](#):
>
> Are those the only things required? I have the tags and trace channel in project settings. They were there before migration. Are the tags only referenced by the character?

The tags were for the “generic” setup for the template, they are part of the grippables specifically for end users as you have to define gameplay tag interfaces in c++ and it made sense for them to have them.

The actual structure of all of the tags can be anything, it doesn’t have to be the one that the template uses, the template just checks them for the different button and use actions.

Trace channel is very useful as you can specifically allow or ignore hand checks to anything, but it also isn’t required to use the plugin, you could use any other trace channel and ignore object types instead.

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [January 24, 2018, 2:29pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2044 "2018-01-24T14:29:35Z")

</div>

> [@](#):
>
> Likely need to do the trace channel and tags before migrating the rest to be sure. Though it should work as is and others have done it the same way?
> 
> Regardless, if you already started on your own, I wouldn’t suggest migrating the template char over, it was never originally intended to be a base, but a set of examples. Its sooooo generic on interactions (overly so) because it lets people try just about anything with it. If I were to make a specific game however and knew my interactions and button layouts ahead of time, I wouldn’t use the template character for it, it has too much in it for most games and is overly complicated.
> 
> The basic [GripObjectByInterface](https://.bitbucket.io/VRExpansionPlugin/VR/GripMotionControllerComponent/nodes/GripObjectByInterface.html) function run off of a trace or overlap lets you use all of the levers and dials and grippables as is. You would only need to handle per bone gripping if you wanted it and slot grip checks which is a self contained node (and AddSecondaryAttachment if you wanted two handed interactions).
> 
> I had/have plans on a very simplistic pawn just showing ground zero setup, but it keeps getting pushed back on my TODO.

Yeah I intend to do that, was just for some quick testing. I have successfully merged into other test projects, that’s why is frustrating. It just won’t work in the project I want it to, I have no idea whyy.

---

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

</div>

> [@SKYNET2K](#):
>
> Yes i read in the Wiki but i dont have the nodes!
> 
> I dont use the template i add the plugin to exist Project! I try make my controller colision all ignore but have still the problem

If you are on the template in any version since 4.17 yes you do. Movement actions are part of the character movement component. Get a reference to it and draw a line out to search.

The SetActorRotationVR nodes are part of the character itself, it should find them anywhere.

---

<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 24, 2018, 2:30pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2046 "2018-01-24T14:30:51Z")

</div>

> [@3DMoss](#):
>
> Yeah I intend to do that, was just for some quick testing. I have successfully merged into other test projects, that’s why is frustrating. It just won’t work in the project I want it to, I have no idea whyy.

Drop a break point in the blueprints at the trigger press and see where it fails then, will let you know what is unhooked.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [January 24, 2018, 2:36pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2047 "2018-01-24T14:36:54Z")

</div>

> [@](#):
>
> If you are on the template in any version since 4.17 yes you do. Movement actions are part of the character movement component. Get a reference to it and draw a line out to search.
> 
> The SetActorRotationVR nodes are part of the character itself, it should find them anywhere.

No i cant find it! i use 4.15

In The 4.18 Template from you i find it but not in my own 4.15 Project

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [January 24, 2018, 2:45pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2048 "2018-01-24T14:45:05Z")

</div>

Well, I have made progress. I deleted all other trace channels in my project, and now gripping works. I’m gonna have to dig a bit to find which one is causing the issue. Thanks for help everyone.

---

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

</div>

> [@SKYNET2K](#):
>
> No i cant find it! i use 4.15
> 
> In The 4.18 Template from you i find it but not in my own 4.15 Project

Yeah it wasn’t in the 4.15 branch, it took a significant overhaul of how the character replicates so I can’t merge it back either.

You can use what the teleport function used back then the RotateAroundPivot node to achieve the same thing, it just takes more effort, search for it in the character to see where it was used.

---

<div class="post-metadata">

**Author:** ![JUDGE\_DREDD\_VR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JUDGE\_DREDD\_VR](https://forums.unrealengine.com/u/JUDGE_DREDD_VR)\
**Post date:** [January 24, 2018, 3:03pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/2050 "2018-01-24T15:03:14Z")

</div>

> [@](#):
>
> Yeah it wasn’t in the 4.15 branch, it took a significant overhaul of how the character replicates so I can’t merge it back either.
> 
> You can use what the teleport function used back then the RotateAroundPivot node to achieve the same thing, it just takes more effort, search for it in the character to see where it was used.

I dont understand with search in character! what a character? in the 4.18 template?

---

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

</div>

> [@SKYNET2K](#):
>
> I dont understand with search in character! what a character? in the 4.18 template?

yes, I think it is still in the legacy teleport nodes in there.

But is the node: https://.bitbucket.io/VRExpansionPlugin/VR/VRExpansionFunctionLibrary/nodes/RotateAroundPivot.html

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

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