Locked Door in Virtual Reality - Unreal Engine VR Tutorial

  Рет қаралды 16,053

VR Playground

VR Playground

Күн бұрын

Пікірлер: 39
@MarkEntingh
@MarkEntingh Жыл бұрын
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.
@danielpe6132
@danielpe6132 11 ай бұрын
, 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....
@danielpe6132
@danielpe6132 11 ай бұрын
in case this has happend to you, and you know the answer.., thanks anyway for your comment adding very useful information
@danielpe6132
@danielpe6132 11 ай бұрын
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
@guillaumemigner-martin3227 Жыл бұрын
Hey man, once am done with school, i promise ill support you through patreon, keep the good work.
@andyalberto6618
@andyalberto6618 2 жыл бұрын
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!
@valentinf2658
@valentinf2658 2 жыл бұрын
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
@TheGoldenNathan Жыл бұрын
greatest tutorial of all time thak you so much for doing this
@paahdin
@paahdin 3 жыл бұрын
Your tutorials are useful keep up the good work!
@electronicinfection
@electronicinfection Жыл бұрын
Wow thanks! I gonna recreate this later.
@adampark4199
@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
@skewn2058 Ай бұрын
I have the same question.. got stuck here
@GlennLSmith
@GlennLSmith 3 жыл бұрын
Really interesting one, thanks for your tutorials chap!
@shoaibmujtaba8123
@shoaibmujtaba8123 Жыл бұрын
thank you! it was really helpful
@kthxbye1132
@kthxbye1132 Жыл бұрын
GENIUS!!!!!!!!!!!!!!!!!!!! Thank you buddy.
@TrySomeCG
@TrySomeCG 3 жыл бұрын
this is exactly i was looking for, thanks man
@immortalxgr
@immortalxgr 3 жыл бұрын
Great content! This channel deserves way more subs.Keep it up!
@Jet7Wave
@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
@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_X
@Durant_X 2 жыл бұрын
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?
@jznrl
@jznrl 5 ай бұрын
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.
@johannesschneider304
@johannesschneider304 6 күн бұрын
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
@saukul Жыл бұрын
Does it still work for anyone? Followed the tutorial, but the doors don't open.
@SilverinLuke
@SilverinLuke 2 жыл бұрын
Great job 💪 great video 👍
@SenEmChannel
@SenEmChannel 2 жыл бұрын
This guy: door is a very simple feature that you can add to your level. Me: did you call all that code simple?
@KADstudioArchitect
@KADstudioArchitect 3 ай бұрын
Dos it works on Hand tracking?
@Cylix3D
@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-z6j
@reeceblanchard-z6j 8 ай бұрын
could this door be created without the lock ?
@santiagoluib3
@santiagoluib3 2 жыл бұрын
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
@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
@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.
@SfantuSS
@SfantuSS 3 жыл бұрын
does it work with multiplayer ?
@justlikeorf
@justlikeorf 3 жыл бұрын
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.
@antoinebourguelle1704
@antoinebourguelle1704 2 жыл бұрын
The same thing without locked door ? Just open a door ?
@rykertothemax3743
@rykertothemax3743 Жыл бұрын
The things you do in the character thing are not there
@RUSSIAZOV-1
@RUSSIAZOV-1 2 жыл бұрын
Please make an ideal with an ordinary door, I am ready to pay
@guijieqiu1878
@guijieqiu1878 2 жыл бұрын
Looks great, but no real physics
@mofo09
@mofo09 2 жыл бұрын
please stop smacking your lips
@dzykute1658
@dzykute1658 Ай бұрын
как? 32:45
How to Make a Lever for Virtual Reality with Unreal Engine
17:31
VR Playground
Рет қаралды 10 М.
Inventory for VR Player - Unreal Engine VR Tutorial
25:26
VR Playground
Рет қаралды 7 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 35 МЛН
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 11 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 20 МЛН
Arms in Virtual Reality with IK - Unreal Engine VR Tutorial
15:25
VR Playground
Рет қаралды 18 М.
Grabbing Ragdoll Bodies in VR - Unreal Engine VR Tutorial
16:19
VR Playground
Рет қаралды 6 М.
Open Doors With A Password In Unreal Engine 5 Using Blueprints
20:43
Unreal ART With Alireza
Рет қаралды 12 М.
Get Started With Unreal Engine 5: Build VR Worlds for Virtual Reality
31:31
How To Use VIRTUAL REALITY In Unreal Engine 5 | Beginner Tutorial
20:19
Virtus Learning Hub
Рет қаралды 124 М.
Build User Interfaces In VIRTUAL REALITY For Unreal Engine 5
14:25
Virtus Learning Hub
Рет қаралды 74 М.
How to Open and Close a Door in Unreal Engine 5
17:24
Pixel Helmet
Рет қаралды 8 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 35 МЛН