# How to create a simple hinge/door for VR

**URL:** <https://forums.unrealengine.com/t/how-to-create-a-simple-hinge-door-for-vr/1643679>\
**Category:** XR Development\
**Tags:** unreal-engine, door, question\
**Created:** [January 26, 2024, 1:07pm UTC](https://forums.unrealengine.com/t/how-to-create-a-simple-hinge-door-for-vr/1643679 "2024-01-26T13:07:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GroellerPatrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/groellerpatrick/32/882203_2.png) [@GroellerPatrick](https://forums.unrealengine.com/u/GroellerPatrick)\
**Post date:** [January 26, 2024, 1:07pm UTC](https://forums.unrealengine.com/t/how-to-create-a-simple-hinge-door-for-vr/1643679/1 "2024-01-26T13:07:43Z")

</div>

Hi there,

I am trying to create a basic hinge for an object shown in the picture with no luck so far.  
I noticed that the physics constraint doesn’t work along with the basic GrabComponent from the VR Template because with the constraint, everytime I grab the cover I have it completely in my hand.

Like I said, I only want a simple hinge, like grabing the cover and followin the path around the axis. Is there a “simple” way to achive this or do I need to create my own grabbing with in a blueprint?

Thanks a lot for helping!  
Patrick

 ![Screenshot 2024-01-26 140331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/e/24eccf6e9fc85c4187a7edf4a2f66e51f65edb35.jpeg)

---

<div class="post-metadata">

**Author:** ![MattSug](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MattSug](https://forums.unrealengine.com/u/MattSug)\
**Post date:** [January 27, 2024, 7:25pm UTC](https://forums.unrealengine.com/t/how-to-create-a-simple-hinge-door-for-vr/1643679/2 "2024-01-27T19:25:45Z")

</div>

If I was attempting this, I would probably use a simple lever based system, assuming the door hinge is the rotation point for the lever

You can add floats to limit the amount of angle the hinge then moves.

Take look a this video and see if it helps…

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/5/f854143abc6115a01c4e81b1e95bf2f13f871b45.jpeg "How to Make a Lever for Virtual Reality with Unreal Engine") ](https://www.youtube.com/watch?v=SXYlSNfoIdI)

---

<div class="post-metadata">

**Author:** ![GroellerPatrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/groellerpatrick/32/882203_2.png) [@GroellerPatrick](https://forums.unrealengine.com/u/GroellerPatrick)\
**Post date:** [January 31, 2024, 5:47am UTC](https://forums.unrealengine.com/t/how-to-create-a-simple-hinge-door-for-vr/1643679/3 "2024-01-31T05:47:13Z")

</div>

Thanks a lot for the video! I had hoped for a more straight forward solution like it worked with the physics constraints and as it works in Unity but I gueass I need to do a bit on myself 🙂

Thanks again!

All the best,  
Patrick

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 1, 2024, 5:47am UTC](https://forums.unrealengine.com/t/how-to-create-a-simple-hinge-door-for-vr/1643679/4 "2024-03-01T05:47:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
