x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Opening Door with Vive grab component

Hi everyone I would like to open a door with my vive's controllers. I've setup the door with physic constrain but I can only hit it and it rotate around it axis. I would like to be able to grab the handle and make it follow my controller.

I can't find a way to do it,

Do you have any idea?

Thanks in advance,

Denis

Product Version: UE 4.13
Tags:
more ▼

asked Nov 25 '16 at 04:20 PM in VR

avatar image

Denis
34 11 14 20

avatar image ZeAtomicBurrito Apr 10 '18 at 12:27 PM

Thank the lord for this, I'm just going to replace the door with a stick shift for my VR car. I've been searching for a while and it's been rough since people generally post a picture of their small issue, not the bigger picture, so thanks so much.

(comments are locked)
10|2000 characters needed characters left

6 answers: sort voted first

Hi,

You can add a physic handle component to your door and if you grab the door, connect the physic handle to your static mesh (door). Then in each event tick (of your door) move the physic handle to your controller (you need to save a reference to your controllers scene component)

This worked fine for me opening a chest.

Br,

Michael

more ▼

answered Nov 25 '16 at 10:51 PM

avatar image

Allonan
34 1 5 7

avatar image Denis Nov 27 '16 at 08:51 PM

Hello michael do you have any screenshot of your blueprints? Thanks in advance :)

avatar image Allonan Nov 27 '16 at 09:18 PM

Here you go:

alt text

It seems that Grab Component is outdated.... In this case StaticMesh is the cover (with simulated physic).

crateexample.jpg (321.4 kB)
avatar image Denis Nov 28 '16 at 09:35 PM

Thanks a lot for your screenshot! I succeeded making the grab component but I can't release the door when the button is not pressed anymore. Do you have any idea why?

avatar image Allonan Nov 28 '16 at 11:47 PM

If I remember correctly, you need to adapt the BP_MotionController - ReleaseActor Function and add the red marked node. Because in the case you grab the door, the attached Parent is not the motionController but the physichandle.

alt text

This is not the most elegant solution, but it works.

avatar image Denis Dec 01 '16 at 04:29 PM

Thanks ! It works perfectly now ! :) Can I ask you a last question? I can't find where to change parameters in my Physic Constraint so my door only open on one side.

avatar image AkashCereble Feb 21 '17 at 12:09 PM

Hey, From where you added those Pickup event? I cant find it

avatar image Denis Feb 22 '17 at 05:56 PM

I think the pickup event you are talking about is the grab one which is created by default in the VR scene from tom looman

avatar image sandermann Jan 14 '18 at 01:31 PM

Whitch kind of Blueprint do you have? If I make a new BP from Actor class I do not have the event Pickup and the other grab events in the event graph.

(comments are locked)
10|2000 characters needed characters left

Cant find Event pickup and drop?

more ▼

answered Apr 28 '17 at 12:45 AM

avatar image

JUDGE DREDD VR
16 2 6

avatar image Denis Apr 28 '17 at 08:34 AM

You can find it for example when you create a new VR scene in UE4 in the blueprint of the blue cube you can grab.

(comments are locked)
10|2000 characters needed characters left

OK i add the Interface and now find this but the Set Hand cant find only HandMesh but this is not compatible with the Event pickup

more ▼

answered Apr 28 '17 at 07:37 PM

avatar image

JUDGE DREDD VR
16 2 6

avatar image Denis Apr 28 '17 at 07:50 PM

Ok tell me what you are trying to achieve and in which context. I don't get what's going wrong.

(comments are locked)
10|2000 characters needed characters left

i want make a door and open in vr!

i make a blueprint like the Picture here!

on the Picture is after Event pickup a Hand Variable what is this?

maybe make someone a complete tutorial for open door in vr

more ▼

answered Apr 28 '17 at 08:53 PM

avatar image

JUDGE DREDD VR
16 2 6

(comments are locked)
10|2000 characters needed characters left

Hi Denis, I am very new to UE and I am having an issue with this also, I have followed the instructions on the 2 screenshots but I am also not able to find the "Hand" variable. Any help on this would be greatly appreciated. Thank you in advance :)

more ▼

answered Jun 22 '17 at 03:16 PM

avatar image

Dantan
1

(comments are locked)
10|2000 characters needed characters left

I find it amazing that since June no one has continued this post, thanks for all the help you provided guys but for a begineer in blueprint like me this is not enough to accomplish what you seem to achieved. Could any of you do a step by step tutorial or explain a bit more how to do this please? I´ve been trying for days but I don't find the solution anyewher and you seem to know it so I would be deeply grateful to anyone that shares any information. thank you!!!

more ▼

answered Nov 20 '17 at 08:48 PM

avatar image

Mac3D
1 1 2 1

avatar image Denis Nov 21 '17 at 04:32 PM

Ok I will have a look back at my project and try to make a step by step from an empty scene. I will try to do that this week

avatar image Mac3D Nov 21 '17 at 04:46 PM

If you could do that I would be very grateful

avatar image imansouri Jan 19 '18 at 07:36 AM

Hi all! I'm also trying to create a blueprint that would allow me to open and close the doors. I was hoping Denis that you would have created and posted the step by step process by now. If you have please inform me on where I could find it. Thanks! I

avatar image everyone is bird Oct 16 '18 at 08:56 PM

I was stuck on this for a little, I was also missing Hands. Add a variable to your blueprint name it whatever, select "Scene Component" on the Right for variable type. Use this to complete the BP nodes. Works well enough with some tweaking.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question