I expanded upon your tutorial by including some swing physics when the user lets go of the door. I set a timer on grab instead of using event tick, and when the user lets go, it does check if the door is close to being closed like your tutorial suggests, but it also calculates rotational velocity and will continue rotating if the velocity is above a threshold. The door also stops rotating if it reaches the clamping limits (and ends the timer as a result) and the velocity gets smaller over time, so the door functions with realistic physics. Also, I added the relative rotation of the actor to the clamping check because if the user rotates the actor, then the door should open and close using different values other than -90 and 0 for the clamp. Also, I added a new Grab Type called "Door", and utilized the Grab Component that comes with the VR template project for the door handle. The "Door" grab type only sets a value for the boolean "isGrabbed" but does not attach the door component to the motion controller like it would with other grab types. Then, the Doorway blueprint captures the OnGrabbed and OnReleased delegates from the grab component and uses those events to trigger your interface events from your tutorial.
@danielpe613211 ай бұрын
, first of all thanks for your comment Iam doing what you have described in your comment, everything works well in the first grab, and when i drop the door, it start to work the physic constrains and close the door so everything fine, hovewer as soon i grab back the door, it rotate my door 90 degrees....
@danielpe613211 ай бұрын
in case this has happend to you, and you know the answer.., thanks anyway for your comment adding very useful information
@danielpe613211 ай бұрын
I aswer to myself, the problem was that when I start to use physic, the component using physic is detacch from parent, when i back to grab, i have to attach to parent back again before to do any programming
@guillaumemigner-martin3227 Жыл бұрын
Hey man, once am done with school, i promise ill support you through patreon, keep the good work.
@andyalberto66182 жыл бұрын
Thank you so so much. This is something I have also been searching for, well, maybe not five years. But 3 years at least! Awesome video!
@valentinf26582 жыл бұрын
Great tutoriel and great video as usual. I’m trying to reproduce it but using my hands and the hand tracking elements rather than the controllers. I’m having difficulties understanding what needs to be changed in your different bluprints to change from controllers to hands. Would love an edited Video or explanation on that one since you seem to be using « controller grab and relevases » fonctions in most of your videos so showing an example would help for all of your other videos. Thanks a lot
@TheGoldenNathan Жыл бұрын
greatest tutorial of all time thak you so much for doing this
@paahdin3 жыл бұрын
Your tutorials are useful keep up the good work!
@electronicinfection Жыл бұрын
Wow thanks! I gonna recreate this later.
@adampark4199 Жыл бұрын
did you collapsed the nodes of 'input action gra left' at 33:03 i am kinda confused on grab left and grab right controllers. did you collapsed those nodes or collapsed to function or macro ?
@skewn2058Ай бұрын
I have the same question.. got stuck here
@GlennLSmith3 жыл бұрын
Really interesting one, thanks for your tutorials chap!
@shoaibmujtaba8123 Жыл бұрын
thank you! it was really helpful
@kthxbye1132 Жыл бұрын
GENIUS!!!!!!!!!!!!!!!!!!!! Thank you buddy.
@TrySomeCG3 жыл бұрын
this is exactly i was looking for, thanks man
@immortalxgr3 жыл бұрын
Great content! This channel deserves way more subs.Keep it up!
@Jet7Wave Жыл бұрын
Working in Unreal 5.1.1, this tutorial still worked! I'm having an odd issue however that I suspect is a result of how simple the blueprint setup is. If I hold the key in one hand and nothing in the other, I can drop the key from my one hand by releasing with the other. Using Valve Index controllers this happens especially frequently without even thinking about it. Is this a drawback of the simplicity of the blueprint or have I done something incorrectly?
@augustasdaunys6773 Жыл бұрын
Hey man, I'm following your tutorial (great video btw), and I stumbled upon a problem, so I already have my custom animations for hands when they grab something, so is it okay if I make another instance of InputAction GrabLeft/Right and make it how you did or do I have to expand on my already done "code" above ?
@Durant_X2 жыл бұрын
Hello great tutorial. i put this into my MetaQuest 2 Project and I can't seem to interacted with any of the objects. Thoughts anyone?
@jznrl5 ай бұрын
How can I let the sound be played only once? I'm doing a survival game but I can't figure anything out on that. Pls help me, very good and easy tutorial btw, keep up the good work.
@johannesschneider3046 күн бұрын
You have to ask you when you want to play the sound. When you move the door? When you close it? I started an event with a tick timer, then play door creaking sound that is muted and its volumen is adjusted to the speed of the door. Doors arent easy in Vr, good luck!
@saukul Жыл бұрын
Does it still work for anyone? Followed the tutorial, but the doors don't open.
@SilverinLuke2 жыл бұрын
Great job 💪 great video 👍
@SenEmChannel2 жыл бұрын
This guy: door is a very simple feature that you can add to your level. Me: did you call all that code simple?
@KADstudioArchitect3 ай бұрын
Dos it works on Hand tracking?
@Cylix3D Жыл бұрын
Can someone tell me if the thing he's doing in the last step with the grab left and grab right functions from the vr template, will messing with those nodes break the functionality of the existing grabbable components from the template?
@reeceblanchard-z6j8 ай бұрын
could this door be created without the lock ?
@santiagoluib32 жыл бұрын
Great tutorial! Would love if you could add in a version where the controller mesh is changed to hand? I think beginning 4.27 the default hand as controller has been changed to the device controller mesh.
@Ticktok_of_Oz Жыл бұрын
gods trying to go through all these after there's been so many changes to unreal is infuriating. The Grab/Release interfaces no longer show up under the blueprint of the key when Grab is added as an Implemented Interface. The Grip mechanics are complete changed with the Grab Component stuff and none of the tutorials match anything anymore.
@Ticktok_of_Oz Жыл бұрын
ah, to double down, the problem I was having with interfaces as because my unreal engine was corrupted or something. It would work again if I closed everything and reopened epic/unreal and the project. I had to run verification on the engine for it to stop doing that.
@SfantuSS3 жыл бұрын
does it work with multiplayer ?
@justlikeorf3 жыл бұрын
another great video! thank you so much for doing these! I'd love to see you explore how one would go about differentiating between being able to touch an NPC or object vs being able to use more force and punch it.
@antoinebourguelle17042 жыл бұрын
The same thing without locked door ? Just open a door ?
@rykertothemax3743 Жыл бұрын
The things you do in the character thing are not there
@RUSSIAZOV-12 жыл бұрын
Please make an ideal with an ordinary door, I am ready to pay