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

<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 9, 2023, 12:36pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5123 "2023-10-09T12:36:02Z")

</div>

Show the output tab, also for 5.3 make sure you are on visual studio 2022.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 9, 2023, 12:59pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5124 "2023-10-09T12:59:18Z")

</div>

Build started…  
1\>------ Build started: Project: VRExpPluginExample, Configuration: Development\_Editor x64 ------  
2\>------ Skipped Build: Project: UE5, Configuration: BuiltWithUnrealBuildTool Win64 ------  
2\>Project not selected to build for this solution configuration  
1\>Using bundled DotNet SDK version: 6.0.302  
1\>Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” VRExpPluginExampleEditor Win64 Development -Project=“C:\Users\RASA\Downloads\Compressed\VRExpPluginExample-master\VRExpPluginExample.uproject” -WaitMutex -FromMsBuild  
1\>Log file: C:\Users\RASA\AppData\Local\UnrealBuildTool\Log.txt  
1\>Using ‘git status’ to determine working set for adaptive non-unity build (C:\Users\RASA\Downloads\Compressed\VRExpPluginExample-master).  
1\>Creating makefile for VRExpPluginExampleEditor (no existing makefile)  
1\>Could not find definition for module ‘AdvancedSessions’, (referenced via Target → VRExpPluginExample.Build.cs)  
1\>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(45,5): error MSB3073: The command ““H:\Program Files\Epic\UE\_5.2\Engine\Build\BatchFiles\Build.bat” VRExpPluginExampleEditor Win64 Development -Project=“C:\Users\RASA\Downloads\Compressed\VRExpPluginExample-master\VRExpPluginExample.uproject” -WaitMutex -FromMsBuild” exited with code 6.  
1\>Done building project “VRExpPluginExample.vcxproj” – FAILED.  
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

---

<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 9, 2023, 1:06pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5125 "2023-10-09T13:06:50Z")

</div>

You downloaded the example project and it looks like you replaced the plugins folder? The example already always comes with the correct plugin version for it, and it uses AdvancedSessions to do test listen servers for multiplayer testing. Looks like you deleted it?

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 9, 2023, 1:10pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5126 "2023-10-09T13:10:50Z")

</div>

No, I took the sample and when I tried to open it with version 5.2, it gave me the XRBase error, so I had to replace the plugins in the sample with the plugin corresponding to the program version.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 9, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5127 "2023-10-09T13:14:46Z")

</div>

Do you think I should do something special to be able to open the sample file with 5.2? I am a newbie and I want to upgrade the mechanics of the game with your 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:** [October 9, 2023, 4:21pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5128 "2023-10-09T16:21:29Z")

</div>

No, just make sure you down load the sample that matches the plugin version you are trying to use. You downloaded master branch which is 5.3, if you download the 5.2-Locked branch then it should just compile as is. When you replaced the plugin folder you also removed an entire plugin.

Master/5.3 example also won’t work in 5.2 anyway because any BPs i have altered for 5.3 will be tagged as the newer engine version and will not function in 5.2.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 10, 2023, 9:54am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5129 "2023-10-10T09:54:32Z")

</div>

Thank you for your explanation, maybe you can give me some advice. I want to use an ampoule to increase life for the character, which path should I refer to in your training? Thank you for your advice.

---

<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 10, 2023, 12:55pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5130 "2023-10-10T12:55:40Z")

</div>

As in they break the top or inject it? Not really sure what you mean.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 10, 2023, 1:00pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5131 "2023-10-10T13:00:10Z")

</div>

Yes, above the left hand, I want to create a place to inject the ampoule and make an animation of the hand for injection so that the life of the character increases.

---

<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 10, 2023, 1:05pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5132 "2023-10-10T13:05:44Z")

</div>

Not sure you should animate that, just actually have them move their hands to there and then attach the ampoule and have it track the hand downwards into the hand.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 10, 2023, 1:15pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5133 "2023-10-10T13:15:43Z")

</div>

Do you think I should put collision sphere on the left hand after the right hand reaches the boundary of the sphere so that the ampoule spawns in the right hand? Or is it better to attach the same ampoule to the empty part for injection? After that, with an additional key, the injection animation will be played and the amount of life will increase on the widget.

---

<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 10, 2023, 1:43pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5134 "2023-10-10T13:43:19Z")

</div>

Could do that, or could literally have the actual ampule attached on the hand and pick it up.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 11, 2023, 9:03am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5135 "2023-10-11T09:03:48Z")

</div>

Hello sir, I apologize for disturbing you again.  
I wanted to ask, how can I do the animation of the hands when he has not touched anything yet? Do I have to give a separate blueprint in the BP\_VRCharacter section in the Grab L/R trigger section?  
If the left hand mesh is different from the right hand model, which part should I refer to? I changed the models in bp\_VRCharacter and in the graspingHandManny section, but both hands are the right model?  
In your opinion, how can I create a different mesh in the hands?

---

<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 11, 2023, 12:25pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5136 "2023-10-11T12:25:48Z")

</div>

You can set the custom or idle pathway for the hands animation blueprint to animate a curl animation based on a scale or enum or something that you drive off of buttons sure. Both hands are the right model in the example as the left hand is mirrored in scale.

With the manny hands specifically they contain the skeleton for both hands in both sides so that isn’t really required, they can share the same animation blueprint, but things like the OpenXR hand tracking support would have to have a switch on it to use the left hand skeleton instead with the left hand.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 11, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5137 "2023-10-11T13:22:11Z")

</div>

So I can’t have 2 different hand meshes from the same skeleton? Because I always want the left hand to be a certain mesh and the right hand to be another mesh. I do not intend to change left or right.  
Regarding the animation blueprint, could you explain clearly which part should I change so that it can move without holding hands? Thank you for showing a picture.

---

<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 11, 2023, 1:52pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5138 "2023-10-11T13:52:55Z")

</div>

You can, I was saying that the manny hands have both the left and right hand bones inside of them. Which I assume was Epics way of making it easier to animate them since the same animation blueprint can be assigned to both.

The animation blueprint can be assigned to any mesh that uses the manny skeleton.

As for where to insert your custom posing, I would put it into the DefaultPose pin of the blend node:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/7/bc7729f56893ebd2ec3f57ebe830b14d52cbf32f.png)

That is the animation state when the hand is not actively being driven by hand tracking or gripping.

Or add it to the blend prior to it where it checks for the hand tracking and replace the idle animation:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/8/438fee9d9078003f155aeddca548f9d89b19855a.png)

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 12, 2023, 9:41am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5139 "2023-10-12T09:41:28Z")

</div>

I’m sorry, I didn’t understand which animation to add to blend by boolean instead of Idle animation? It’s a shame, the game programmer won’t come anymore, I have to take the project forward myself as long as there are professors like you.  
One is that if it is possible, please send a picture of the hand mesh change.  
I apologize again for my mental slowness…

---

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

</div>

Not entirely sure what you mean, why don’t you join the discord where its easier to go back and forth with examples.

---

<div class="post-metadata">

**Author:** ![animator7310](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@animator7310](https://forums.unrealengine.com/u/animator7310)\
**Post date:** [October 13, 2023, 6:52am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5141 "2023-10-13T06:52:29Z")

</div>

I am sorry that I can’t tell what I want to do… by the way , what’s your dicord ID ?

---

<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 13, 2023, 12:37pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5142 "2023-10-13T12:37:02Z")

</div>

Linked at the top of [www.vreue5.com](http://www.vreue5.com)

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

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