Using "Pressure Activated" Switches To Trigger Events In Unreal Engine 5

  Рет қаралды 24,261

BuildGamesWithJon

BuildGamesWithJon

Күн бұрын

I'll show you how to create a classic "pressure activated" switch that opens a door (or triggers any other event). I'll create a door actor that requires one or more pressure switches to be activated in order to open, and I'll show you how to set up communication between the actors.

Пікірлер: 48
@bigdeutsch5588
@bigdeutsch5588 Жыл бұрын
The simplicity of how you referenced another object using that variable was a revelation to me. I thought you would have to "cast to b_door" to make it work . Thanks for the video!
@americanbigbig
@americanbigbig 2 жыл бұрын
Thank you for making this video! Ive been using activatable objects in the level ive been working on but ive been drawing a blank on how to make conditional activations requiring multiple items to be activated. Very helpful!
@VSWRKS
@VSWRKS Жыл бұрын
So good! Very well structured and paced. I had to work on something super fast and your tutorial made me so much faster! Thanks!
@DoctorX17
@DoctorX17 Жыл бұрын
This is awesome, thanks! I wanted to make double sliding doors, so I found it a little tricky -- I made timelines for each half, going opposite directions, and then wasn't sure how to trigger both; I found out that you can use "Sequence" to have the outputs from each Branch go to each timeline's play and reverse, so you can trigger two doors at once. That way you only need one each for the activation and deactivation sections
@user-dt5fv7wn4c
@user-dt5fv7wn4c 4 ай бұрын
Thank you so much, I didn't struggle at all following your tutorial and you explained everything so well!
@edjonhadley1
@edjonhadley1 Жыл бұрын
Amazing video super easy to follow and easy to understand how everything works. Thank you!
@starcin
@starcin Жыл бұрын
Great video. Both simple and detailed.
@jhoso_
@jhoso_ Жыл бұрын
Thanks a lot 💚 your video is very complete and very well explained! good job!
@NewMateo
@NewMateo 2 жыл бұрын
Thanks for these bite sized game mechanics!!
@maya-eq5ez
@maya-eq5ez Жыл бұрын
really great video, helped me a lot and i learned new things. thank you so much!!
@reliquary1267
@reliquary1267 Жыл бұрын
Love your videos. Please make a tutorial on level optimization, especially how to purge all unused assets. My project has lots of assets from various marketplace packs and I don't want to break any references !!!
@SLASHERHEATH
@SLASHERHEATH Жыл бұрын
I noticed the value can go under 0 if you are quick with movements, so a good idea would be to clamp the active triggers, using 0 as the Min and the Needed switches value as the max. Can add a Text Render component rooted to the door mesh to debug/ visualise this. Just append the Active and Needed int values and put a slash in between, then set the text of the Text Rennder using this this return value :))
@Meansters
@Meansters 5 ай бұрын
that was a great tutorial thank you so much
@rinitaadhikary6958
@rinitaadhikary6958 Ай бұрын
Hello, thanks for the great video, although wanted to know if i wanted the door open for a longer time after pressing the switch what should I try this with. Do let me know thanks!
@sejhankacarova2780
@sejhankacarova2780 2 жыл бұрын
Will you continue doing the chaos series. I love them as you explain it great.
@GhostBingo
@GhostBingo 2 жыл бұрын
Jon, will you continue to do RTS tutorial series?
@DaveDavies-mq2fj
@DaveDavies-mq2fj 6 ай бұрын
HI thanks , works in VR ,I got things back to front somehow ,will sort it out in the morning ,great tutorial esp the part where you say to click on the default scene root , that was tripping me by parenting things, such a small thing, was frustrating ....gg
@psykoplumo4935
@psykoplumo4935 7 ай бұрын
Awesome, thank you so much !!!!
@dodoche6451
@dodoche6451 9 ай бұрын
Thank's ! Do you know how to close the door more slowly than the open one ? Than the player needs to be faster to past through the door.
@Deadlyw1nEditz
@Deadlyw1nEditz Ай бұрын
W tutoril Thank You So Much
@elihall3652
@elihall3652 Жыл бұрын
ace tutorial. thank you
@CommonLogic
@CommonLogic Ай бұрын
Very good Bro
@MrrPancake
@MrrPancake 9 ай бұрын
Hey I tried this and is working awesome, question is there a way to use an specific cube ? so for example 3 different cubes but only 1 of them work with the switch, I was trying to do that by setting up the cube for activating the switch but doesnt work sadly, any tips ?
@brianmo2611
@brianmo2611 2 жыл бұрын
@BuildsGamesWithJon can you do a video for like say making it so players have to press a button to push a heavy cube... and it only goes in the direction the player is pushing from... with animations???
@JaimeRdzClaves
@JaimeRdzClaves Жыл бұрын
TY!!!!! 💜💜💜💜💜
@lisowi.
@lisowi. Жыл бұрын
Really cool tutorial, could you do it when a stone needs to be rotated a certain way for the door to open
@alybaby941
@alybaby941 7 ай бұрын
Yes please!!! I also really need this
@uSher0
@uSher0 Жыл бұрын
Thanks!
@Luke-cecilpod
@Luke-cecilpod Ай бұрын
Would it be possible to do this without the switch just an overlap box?
@gr4j0m3r
@gr4j0m3r Жыл бұрын
How can we do correct shape detection switch? For example, player needs to bring the designtaed shape (cube or pyramid or other) and make door open only the correct shape has been place on the floor switch.
@veevinci
@veevinci Жыл бұрын
great and easy tutorial, thanks! I've noticed one bug though.. When door needs two button to be pressed I can put something on one button, like cube for example, and my character step on this exact same button then door will open also :D I don;t know if it's the general bug in this or I've done something wrong. If someone know the answer or know how to fix this I'd be greatful :)
@Celinto_Cateyente
@Celinto_Cateyente 2 ай бұрын
13:00 When I want to select with the eye dropper on the map, it says that it is incompatible. How do I solve it? I can't create the reference.
@FlockersDesign
@FlockersDesign 6 ай бұрын
Okey nice but what if i want it to trigger only when a set weight is reached For example i need 100kg of weight befor it triggers this seems to be hard to find any info on
@DailyPaily
@DailyPaily 2 жыл бұрын
12:46 that method seem like a fast interface , its better ?
@buildgameswithjon7641
@buildgameswithjon7641 2 жыл бұрын
In this case using the hard reference to the other actor is easier than an interface if that's what you mean.
@andrewclark5627
@andrewclark5627 10 ай бұрын
When I stand on the switch and then put the item on then I walk off, it goes back as if the item is not there, aswell as counting as 2 switches
@tahauzuner
@tahauzuner 8 ай бұрын
Replaced to (Needed > Active) OR (Active == 0) on the End Overlap side. True will go to Reverse side on timeline for this. That solved the first part. Still counting player as second.
@Sworn973
@Sworn973 4 ай бұрын
0:57 Damm, how every single tutorial creates an actor blue print, and they have in the ADD button a bunch of options, my add just have fell items like variable. lol after quite some time, if you also don't have the component part showing up in unreal 5.3, at the menu bar, click on WINDOWS, then check COMPONENT. I have no idea why the heck it is not enabled by default
@creakyvibez000
@creakyvibez000 11 ай бұрын
my trigger fails to find my character and breaks the blueprint
@PlayItAgainGames2023
@PlayItAgainGames2023 Жыл бұрын
i dont know what im doing wrong but mine doesn't go back down
@jagdishsahu3935
@jagdishsahu3935 10 ай бұрын
You probably.. duplicated the default value of the variable "PressureSwitchesNeeded" and renamed it to "PressureSwitchesActive"... now both there values are 1.. To solve your problem: Set the default value of "PressureSwitchesActive" = 0 Set the default value of "PressureSwitchesNeeded" = 1 (minimum 1 or xx amount as needed)
@KLKstudios
@KLKstudios 5 ай бұрын
can you send me the door and switch to me....a have not save it and i have sitting here in 6 hour
@Darryd
@Darryd 6 ай бұрын
I keep getting these Runtime errors. "Blueprint Runtime Error: "Accessed None trying to read property DoorToActivate". Node: Switch Deactivated Graph: EventGraph Function: Execute Ubergraph BP Pressure Plate Blueprint: BP_PressurePlate" Anyone know why?
@LegendOfCalvas
@LegendOfCalvas 11 ай бұрын
my door dont go back down :
@jagdishsahu3935
@jagdishsahu3935 10 ай бұрын
You probably.. duplicated the default value of the variable "PressureSwitchesNeeded" and renamed it to "PressureSwitchesActive"... now both there values are 1.. To solve your problem: Set the default value of "PressureSwitchesActive" = 0 Set the default value of "PressureSwitchesNeeded" = 1 (minimum 1 or xx amount as needed)
@LegendOfCalvas
@LegendOfCalvas 10 ай бұрын
@@jagdishsahu3935 Fixed! thank you!!
@edu_mag0018
@edu_mag0018 8 ай бұрын
​@@jagdishsahu3935is still not working 🥲 I did that and when I don't press the button it doesn't go down
@edu_mag0018
@edu_mag0018 8 ай бұрын
​@@jagdishsahu3935nothin I just fix it 😅I am dumb
UFC 302 : Махачев VS Порье
02:54
Setanta Sports UFC
Рет қаралды 1,1 МЛН
ПООСТЕРЕГИСЬ🙊🙊🙊
00:39
Chapitosiki
Рет қаралды 9 МЛН
How to Make a Pressure Plate in Unreal Engine 5
7:20
Gorka Games
Рет қаралды 6 М.
How to Make a Swimming System in Unreal Engine 5
17:47
Gorka Games
Рет қаралды 38 М.
How to Create a Map EXTREMELY FAST in UE5
9:55
Evans Bohl
Рет қаралды 130 М.
Timeline Tutorial | Easy Animations In Unreal Engine 5
28:15
Tyler Serino
Рет қаралды 15 М.
UFC 302 : Махачев VS Порье
02:54
Setanta Sports UFC
Рет қаралды 1,1 МЛН