Тёмный

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

BuildGamesWithJon
Подписаться 11 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@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
@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!
@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 :))
@NewMateo
@NewMateo 2 года назад
Thanks for these bite sized game mechanics!!
@ColtonNunns
@ColtonNunns Месяц назад
Awesome video thank you! Dose anyone know how to make it where only an item can activate the box collider? I don’t want the player controller to be able to activate it. (it’s for a puzzle game. They need to find an item then put it on the collider and band door opens) Cheer!!
@Sworn973
@Sworn973 8 месяцев назад
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
@FreeRadical666
@FreeRadical666 Месяц назад
Thanks. Very clean and helpful 😀
@rinitaadhikary6958
@rinitaadhikary6958 5 месяцев назад
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!
@Celinto_Cateyente
@Celinto_Cateyente 6 месяцев назад
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.
@buster5661
@buster5661 2 месяца назад
how do i get an object to follow a spline when the button is clicked then reverse it when the button is released??
@thenetimp
@thenetimp 2 месяца назад
Instead of custom events, create an interface called "activatable", with 2 functions, one for activate(open), one for deactivate (close), then have an object on the switch of type actor called activatable item, then in the functions on the pressure place you check if the connected object uses the interface, if it does then you call the functions, now your pressure plate works on more than just doors .
@MrWubbage
@MrWubbage 9 месяцев назад
that was a great tutorial thank you so much
@KLKstudios
@KLKstudios 9 месяцев назад
can you send me the door and switch to me....a have not save it and i have sitting here in 6 hour
@GhostBingo
@GhostBingo 2 года назад
Jon, will you continue to do RTS tutorial series?
@creakyvibez000
@creakyvibez000 Год назад
my trigger fails to find my character and breaks the blueprint
@bigdeutsch5588
@bigdeutsch5588 2 года назад
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!
@Darryd
@Darryd 10 месяцев назад
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?
@CommonLogic
@CommonLogic 5 месяцев назад
Very good Bro
@mrrobot7185
@mrrobot7185 3 месяца назад
thank you for this
@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 11 месяцев назад
Yes please!!! I also really need this
@Luke-cecilpod
@Luke-cecilpod 5 месяцев назад
Would it be possible to do this without the switch just an overlap box?
@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!
@FlockersDesign
@FlockersDesign 10 месяцев назад
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
@EastCost-e6o
@EastCost-e6o 2 месяца назад
super men
@dodoche6451
@dodoche6451 Год назад
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.
@MrrPancake
@MrrPancake Год назад
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 ?
@DaveDavies-mq2fj
@DaveDavies-mq2fj 10 месяцев назад
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
@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.
@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???
@Maya-gj3jb
@Maya-gj3jb Месяц назад
Great tutorial, this definitely helped me understand blueprints better
@ELISABETTAIANNONE
@ELISABETTAIANNONE 8 месяцев назад
Thank you so much, I didn't struggle at all following your tutorial and you explained everything so well!
@reliquary1267
@reliquary1267 2 года назад
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 !!!
@jhoso_
@jhoso_ Год назад
Thanks a lot 💚 your video is very complete and very well explained! good job!
@maya-eq5ez
@maya-eq5ez Год назад
really great video, helped me a lot and i learned new things. thank you so much!!
@sejhankacarova2780
@sejhankacarova2780 2 года назад
Will you continue doing the chaos series. I love them as you explain it great.
@edjonhadley1
@edjonhadley1 Год назад
Amazing video super easy to follow and easy to understand how everything works. Thank you!
@JaimeRdzClaves
@JaimeRdzClaves Год назад
TY!!!!! 💜💜💜💜💜
@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 :)
@amokjok
@amokjok 3 месяца назад
I had a similar mistake. The mistake is in us! We didn't carefully repeat the lesson =)
@psykoplumo4935
@psykoplumo4935 11 месяцев назад
Awesome, thank you so much !!!!
@andrewclark5627
@andrewclark5627 Год назад
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 Год назад
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.
@elihall3652
@elihall3652 Год назад
ace tutorial. thank you
@uSher0
@uSher0 Год назад
Thanks!
@starcin
@starcin 2 года назад
Great video. Both simple and detailed.
@PlayItAgainGames2023
@PlayItAgainGames2023 Год назад
i dont know what im doing wrong but mine doesn't go back down
@jagdishsahu3935
@jagdishsahu3935 Год назад
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)
@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.
@LegendOfCalvas
@LegendOfCalvas Год назад
my door dont go back down :
@jagdishsahu3935
@jagdishsahu3935 Год назад
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 Год назад
@@jagdishsahu3935 Fixed! thank you!!
@edu_mag0018
@edu_mag0018 Год назад
​@@jagdishsahu3935is still not working 🥲 I did that and when I don't press the button it doesn't go down
@edu_mag0018
@edu_mag0018 Год назад
​@@jagdishsahu3935nothin I just fix it 😅I am dumb
Далее
How To Open And Close Doors - Unreal Engine 5 Tutorial
19:52
Unreal Engine 5.4 Motion Matching in 13 Minutes | 2024
13:41
Unreal Engine Materials in 6 Levels of Complexity
44:12
Why Unreal Engine 5.4 is a Game Changer
12:46
Просмотров 1,3 млн
How to Create a Map EXTREMELY FAST in UE5
9:55
Просмотров 164 тыс.