# Problem with physics constraints in VR

**URL:** <https://forums.unrealengine.com/t/problem-with-physics-constraints-in-vr/480820>\
**Category:** Rendering\
**Tags:** physics-constraints, offset, unreal-engine, question\
**Created:** [March 24, 2021, 7:10pm UTC](https://forums.unrealengine.com/t/problem-with-physics-constraints-in-vr/480820 "2021-03-24T19:10:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScarredBison](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ScarredBison](https://forums.unrealengine.com/u/ScarredBison)\
**Post date:** [March 24, 2021, 7:10pm UTC](https://forums.unrealengine.com/t/problem-with-physics-constraints-in-vr/480820/1 "2021-03-24T19:10:35Z")

</div>

So, I have a physics constraint set up. It is attached parented to a mesh that’s parented to my VR motion controller.

![333464-bp-02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/8/258eb7ef2764ffdfabde8e791854506db2c9f2d4.jpeg)

This seems pretty standard from what I’ve seen. Now, on **EventBeginPlay** I have the following code running:

 ![333465-bp-01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/c/d5cd5212cc430d9649b474352b408d39bcfaca21.jpeg)

So here’s the crux of the problem: When I parent objects to my hand mesh, everything seems to be off by an arbitrary amount of units on the Z axis. Around 44.85 units to be exact. I know this is something to do with the physics constraint because turning off the physics immediately fixes the issue.

I have narrowed it down even further. If I turn on simulate physics for the hand mesh and don’t use the **Set Simulate Physics** node, there’s no issue!

Here’s a screenshot of the game in action. The blue cube represents where my controller is and the yellow cube represents the offset of anything parented to the hand mesh. The printed numbers are the distance between the two cubes.

 ![333466-bp-04.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28500f79343707a434ddffa1bd72b8db10f77ac8.jpeg)

Even when with linear and angular limits locked, this still happens. Please let me know if you have any clue as to why. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Boruki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Boruki](https://forums.unrealengine.com/u/Boruki)\
**Post date:** [August 2, 2023, 8:26pm UTC](https://forums.unrealengine.com/t/problem-with-physics-constraints-in-vr/480820/2 "2023-08-02T20:26:30Z")

</div>

Did you ever get an answer for this?

I have something similar, it also seems to tilt my model slightly too!

---

<div class="post-metadata">

**Author:** ![Boruki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Boruki](https://forums.unrealengine.com/u/Boruki)\
**Post date:** [August 19, 2023, 7:16pm UTC](https://forums.unrealengine.com/t/problem-with-physics-constraints-in-vr/480820/3 "2023-08-19T19:16:13Z")

</div>

This is a known engine bug I believe, there are issues with inverse scaled meshes and their physics bodies.

Appears fixed from either 5.0 or 5.1. Just in case you never got a workaround.
