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

<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:** [April 26, 2019, 1:44pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3219 "2019-04-26T13:44:23Z")

</div>

I was wondering what is the best Full Body IK solution to use with VR Expansion. Do you have any examples of how would work with your solution?

Any help with would be great.

---

<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 26, 2019, 1:51pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3220 "2019-04-26T13:51:21Z")

</div>

> [@Sooth](#):
>
> I was wondering what is the best Full Body IK solution to use with VR Expansion. Do you have any examples of how would work with your solution?
> 
> Any help with would be great.

I know that multiple people are using Ikinema and the new Full Body IK by AnimIK on the marketplace, I assume that others are using Yurik’s as well but I don’t know much about it. A lot of users used to use BIK but its pretty much gone now. I am not the best one to ask about though as I can’t package any IK solutions into the template or the plugin and haven’t played with the marketplace offerings much. I don’t think you will find something on the level of quality as Unity’s FinalIK though for less than an exorbitant fee.

As for setup, generally you set the parent relative component to “floor mode” and attach the mesh and run the IK logic. Some of the setups have built in rotation detection so you would likely also want to set the ParentRelativeAttachment to IgnoreParentRotation to let the IK handle it itself.

I have some backend stuff going with some people about possible IK things, but I wouldn’t wait around, its not something I can dedicate myself towards as its pretty much an entire project in itself to maintain a good IK plugin and I am not sure how serious they are about maintaining it if I helped out initially.

---

<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:** [April 26, 2019, 3:19pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3221 "2019-04-26T15:19:03Z")

</div>

Thanks for the info. I did find an open source IK solution but have not look at how to use it with VR Expansion. [GitHub - hacoo/rtik: Comprehensive inverse kinematics system for Unreal Engine 4](https://github.com/hacoo/rtik). I do have the plugin from Yuri (VR IK Body) but it’s been a challenge to get it to work properly with VR Expansion plugin. It’s mainly because his documentation is totally lacking and the videos are really hard to understand. But maybe your information about changing those settings in the VR Character might be part of my issue with .

But if someone has a tutorial or example of a plugin and VR Expansion working together I would really appreciate the help.

---

<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 26, 2019, 6:14pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3222 "2019-04-26T18:14:23Z")

</div>

Pushed another commit to both repositories, I figured that as long as I was requiring some re-factoring of how people connect to IsHeld, that I might as well finish it out fully with where I wanted it to be.

Patch notes here: [4.22 Patch Notes – VR Expansion Plugin](https://vreue4.com/patch-notes?section=is-held-refactor-04-22-2019)

---

<div class="post-metadata">

**Author:** ![Kilargo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kilargo](https://forums.unrealengine.com/u/Kilargo)\
**Post date:** [April 27, 2019, 1:56pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3223 "2019-04-27T13:56:18Z")

</div>

> [@](#):
>
> You want to check IsLocallyControlled on the TellClients multicast (On the received end) and ignore it, not on the actual call server side.

Thank you for all your help and I’m sorry for the late reply.

I was able to get working by doing the check on the authority side and making sure the inputs were only being applied to the server’s pawn. works with two players, but needs more testing for multiple players.

---

<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 27, 2019, 4:12pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3224 "2019-04-27T16:12:51Z")

</div>

> [@Kilargo](#):
>
> Thank you for all your help and I’m sorry for the late reply.
> 
> I was able to get working by doing the check on the authority side and making sure the inputs were only being applied to the server’s pawn. works with two players, but needs more testing for multiple players.

… I really need to convince them to merge those to an array of structs or something with the finger ID…that is just a bad format to work with

---

<div class="post-metadata">

**Author:** ![Rareden](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rareden](https://forums.unrealengine.com/u/Rareden)\
**Post date:** [May 4, 2019, 3:36am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3225 "2019-05-04T03:36:51Z")

</div>

Is the vive pawn character being rotated with X+ forward important to anything in the code? looking to change it to Y+ to be more compatible with other stuff.

---

<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:** [May 4, 2019, 4:59pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3226 "2019-05-04T16:59:57Z")

</div>

> [@Rareden](#):
>
> Is the vive pawn character being rotated with X+ forward important to anything in the code? looking to change it to Y+ to be more compatible with other stuff.

? The engine is X+ in general, the character itself doesn’t care which way it is rotated but if you are talking about mesh facing (which is Y+ because…maya things) you are better off rotating the mesh inverse 90 degrees since rotating the character itself will also rotate the mesh if it is it’s child.

---

<div class="post-metadata">

**Author:** ![iNviSible.yuno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iNviSible.yuno](https://forums.unrealengine.com/u/iNviSible.yuno)\
**Post date:** [May 7, 2019, 3:13pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3227 "2019-05-07T15:13:30Z")

</div>

Hi !  
Thanks for the great Plugin. I used it in VR Flush and solved quite a few problems for me.

Question:  
The LateUpdate feature is cool, but I have the problem in my current project that a fluid shader I made (uses AbsoluteWorldPosition and ObjectPosition nodes) is too slow and lags behind when an actor with that material is grabbed. The only way I managed to solve was to turn off Late Updates when grabbing. Is there a better way? Can I get the material to update as fast as the motion controller does?

I have also had a similar problem where a BP containing a SceneCaptureComponent2D seems to force LateUpdate to off when the actor is grabbed.

---

<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:** [May 7, 2019, 3:27pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3228 "2019-05-07T15:27:34Z")

</div>

> [@iNviSible.yuno](#):
>
> Hi !  
> Thanks for the great Plugin. I used it in VR Flush and solved quite a few problems for me.
> 
> Question:  
> The LateUpdate feature is cool, but I have the problem in my current project that a fluid shader I made (uses AbsoluteWorldPosition and ObjectPosition nodes) is too slow and lags behind when an actor with that material is grabbed. The only way I managed to solve was to turn off Late Updates when grabbing. Is there a better way? Can I get the material to update as fast as the motion controller does?
> 
> I have also had a similar problem where a BP containing a SceneCaptureComponent2D seems to force LateUpdate to off when the actor is grabbed.

No not really, late update is Epics solution for the render thread and game thread being a full frame offset from each other (render thread presents a frame after the game thread ran). So they shift late updated objects by the transform difference (delta) between the game thread controller transform and render thread controller transform (they re-sample it).

For a material to update based on the difference it would need a shader param that gets that delta difference, and for a scene capture to do it, it would need to have its view shifted by that delta.

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [May 8, 2019, 1:23pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3229 "2019-05-08T13:23:24Z")

</div>

Hi , as almost everyone says - thanks for the great plugin!

I’ve been playing around with it for a week or so and just come across something I can’t figure out. When I try and package my current project i get a cook error:

```auto

UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogPython: Error: Struct 'Transform_NetQuantize' is marked as 'HasNativeMake' but the function 'VRExpansionPlugin.VRExpansionPluginFunctionLibrary.MakeTransform_NetQuantize' could not be found.
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogPython: Error: Struct 'Transform_NetQuantize' is marked as 'HasNativeBreak' but the function 'VRExpansionPlugin.VRExpansionPluginFunctionLibrary.BreakTransform_NetQuantize' could not be found.
...
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
...
PackagingResults: Error: Unknown Cook Failure

```

When I was just playing around with the example map I was able to package fine and even in the current project I had previously been able to package but just tried today and is happening. Not sure what I’ve done. Checked the source and the missing function it references is there in the source. Any ideas?

---

<div class="post-metadata">

**Author:** ![iNviSible.yuno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iNviSible.yuno](https://forums.unrealengine.com/u/iNviSible.yuno)\
**Post date:** [May 8, 2019, 1:37pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3230 "2019-05-08T13:37:06Z")

</div>

> [@](#):
>
> No not really, late update is Epics solution for the render thread and game thread being a full frame offset from each other (render thread presents a frame after the game thread ran). So they shift late updated objects by the transform difference (delta) between the game thread controller transform and render thread controller transform (they re-sample it).
> 
> For a material to update based on the difference it would need a shader param that gets that delta difference, and for a scene capture to do it, it would need to have its view shifted by that delta.

Alright. Thanks for the response 🙂

---

<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:** [May 8, 2019, 1:52pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3231 "2019-05-08T13:52:24Z")

</div>

> [@ctpeepee](#):
>
> Hi , as almost everyone says - thanks for the great plugin!
> 
> I’ve been playing around with it for a week or so and just come across something I can’t figure out. When I try and package my current project i get a cook error:
> 
> ```auto
> 
> UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogPython: Error: Struct 'Transform_NetQuantize' is marked as 'HasNativeMake' but the function 'VRExpansionPlugin.VRExpansionPluginFunctionLibrary.MakeTransform_NetQuantize' could not be found.
> UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogPython: Error: Struct 'Transform_NetQuantize' is marked as 'HasNativeBreak' but the function 'VRExpansionPlugin.VRExpansionPluginFunctionLibrary.BreakTransform_NetQuantize' could not be found.
> ...
> UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
> ...
> PackagingResults: Error: Unknown Cook Failure
> 
> ```
> 
> When I was just playing around with the example map I was able to package fine and even in the current project I had previously been able to package but just tried today and is happening. Not sure what I’ve done. Checked the source and the missing function it references is there in the source. Any ideas?

Are you nativizing it? I don’t see a reason why it would be throwing that otherwise, the functions are there.

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [May 8, 2019, 2:04pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3232 "2019-05-08T14:04:08Z")

</div>

> [@](#):
>
> Are you nativizing it? I don’t see a reason why it would be throwing that otherwise, the functions are there.

I don’t believe so? In project settings: _Blueprint Nativization Method: Disabled_

---

<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:** [May 8, 2019, 2:48pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3233 "2019-05-08T14:48:34Z")

</div>

> [@ctpeepee](#):
>
> I don’t believe so? In project settings: _Blueprint Nativization Method: Disabled_

Then delete all intermediate folders, regenerate project files, and try again.

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [May 8, 2019, 3:14pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3234 "2019-05-08T15:14:03Z")

</div>

> [@](#):
>
> Then delete all intermediate folders, regenerate project files, and try again.

Unfortunately I had already tried that but just in case did it again and still get same error. I also went through config files of example project to see if there was anything different, only thing I could find was that I was building on development configuration whereas the example is shipping. Tried on shipping and still no luck however.

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [May 8, 2019, 3:51pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3235 "2019-05-08T15:51:13Z")

</div>

☹ I’ve tried rebuilding everything, redownloading all plugin files and anything else I can think of but getting same error. There are quite a number of other warnings during cooking but none of them seem likely for the failure, and they’re only warnings as opposed to the errors I quoted before. The only warnings I’m not too confident aren’t causing an issue are these:

```auto

UATHelper: Cooking (Windows): LogOnline: Warning: STEAM: Steam API disabled!
UATHelper: Cooking (Windows): LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
PackagingResults: Warning: STEAM: Steam API disabled!

```

Thanks for responding so quickly btw and trying to help so far!

---

<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:** [May 8, 2019, 4:41pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3236 "2019-05-08T16:41:22Z")

</div>

> [@ctpeepee](#):
>
> ☹ I’ve tried rebuilding everything, redownloading all plugin files and anything else I can think of but getting same error. There are quite a number of other warnings during cooking but none of them seem likely for the failure, and they’re only warnings as opposed to the errors I quoted before. The only warnings I’m not too confident aren’t causing an issue are these:
> 
> ```auto
> 
> UATHelper: Cooking (Windows): LogOnline: Warning: STEAM: Steam API disabled!
> UATHelper: Cooking (Windows): LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
> PackagingResults: Warning: STEAM: Steam API disabled!
> 
> ```
> 
> Thanks for responding so quickly btw and trying to help so far!

Yeah those are normal, they shut down steam during packaging.

Its interesting that its being thrown from LogPython though, are you using the Python Editor Script Plugin? Because it would be a conflict with something about how that works then.

---

<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:** [May 8, 2019, 4:42pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3237 "2019-05-08T16:42:00Z")

</div>

Pushed a new commit to the repositories:

```auto

Added a new COM (center of mass) calculation / setting setup, fixes some weird engine interactions with how
Epic intended that you set COM and welded attachments (it doesn't work correctly with welded children).

Patch notes here: [https://vreue4.com/patch-notes?secti...-change-5-8-19](https://vreue4.com/patch-notes?section=com-setting-change-5-8-19)

```

---

<div class="post-metadata">

**Author:** ![ctpeepee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ctpeepee](https://forums.unrealengine.com/u/ctpeepee)\
**Post date:** [May 8, 2019, 5:30pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/3238 "2019-05-08T17:30:35Z")

</div>

> [@](#):
>
> Yeah those are normal, they shut down steam during packaging.
> 
> Its interesting that its being thrown from LogPython though, are you using the Python Editor Script Plugin? Because it would be a conflict with something about how that works then.

I had been using the python plugin for some stuff a while ago and forgot I had it enabled to be honest. That was indeed the culprit though! Disabled the plugin and packages ok now. Many thanks! 🙂

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

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