Also something important is if you want to copy the door you need to remove the position property from the animation so that the animation happens on the place of the door and by the way awesome tutorial :D
@user1productions8832 жыл бұрын
This is factual ! Should have mentioned this
@akumasekais Жыл бұрын
Please elaborate. I like to have multiple doors in my environment.
@akumasekais Жыл бұрын
Should i declare a delegate?
@emielv83652 жыл бұрын
For anyone wondering why it doesn't work to rotate the door along the empty object, when you select the game object, make sure to change the button in the top left corner from center to pivot
@user1productions8832 жыл бұрын
There is a more up to date tutorial on the channel in part number 27, the advanced door system
@emielv83652 жыл бұрын
@@user1productions883 I know, but I just wanted clarify, because I got this error as well and I wanted to show my solution
@ikbencringeikbencringe4532 жыл бұрын
omg legend bro i was stuck on this tutorial for hours doing it over and over again
@p1ck02 жыл бұрын
thank you so much!
@gustavlarsen86122 жыл бұрын
thank you, you you are a good man/women/other/penguin kutgw 😁
@renzbolado1532 жыл бұрын
You know, as someone with ADHD, the way you explain the physicality of what you actually have to do, press on screen etc really helps great guide
@Theboys123-dx4e9 ай бұрын
I know this is old, but man it’s a lifesaver. Thank you so much.
@Not_Tiger774 ай бұрын
What version of unity you have?
@skizzy.mp42 жыл бұрын
"wow that was really cool" -Dani (for real tho this helped me a lot, im not new to unity but I am horrible when it comes to animations lol. thank you for the quick and easy tutorial)
@user1productions8832 жыл бұрын
Hahaha I love the Dani reference! And thank you my friend I’m glad you enjoyed ! I really appreciate the support
@JRockThumper Жыл бұрын
If anyone cannot get the door to open, all you have to do is go back to your "Interact" input in the Input Manager, go down to Type, change it to "Key or Mouse Button", and change the Axis option right below it to "X axis". I have been dealing with this issue for the past two hours, unable to get doors, flashlights, and anything using the input manager to work. Once I changed these settings (That were automatically applied by Unity (I redownloaded it six hours ago), everything worked!
@omarelgendy516 Жыл бұрын
I have done both of those but still, my open animation won’t work and the door itself won’t even open :( if anyone else can please help lmk 🙏
@MarioWZul28 күн бұрын
@@omarelgendy516did you found a fix?
@fdemon8703 Жыл бұрын
The sound also plays in the beggining, how could i change this?
@shenngamer975 Жыл бұрын
Bro! It has an error saying that CS1061:'Animator' does not contain a defination for 'setBool' and no accessible extention method 'setBool' accepting a first argument of type 'Animator' could be found (are you missing a using directive or an assembly refference?)
@bizi-e3v2 жыл бұрын
There is a problem with my reach, when i press play its y and z values start changing drastically and makes interacting impossible EDIT: Ignore this I figured out how to fix it. In the rigidbody you must 0 all the values and forces
@BogdanKonstantinManzar5 күн бұрын
Note: if using newer version of unity you need to set input handling mode to both in project settings to avoid errors
@SubParGames_7 ай бұрын
btw, if anyone has an issue where when you put the constraints on the rigidbody and the player movement is not working properly, instead of using rigidbody, just remove the box collider instead, its way easier and the problem should be fixed.
@hangyboi5 ай бұрын
man you saved my life, I was struggling with it for some time now
@SubParGames_5 ай бұрын
@@hangyboi no problem!
@hangyboi5 ай бұрын
@@SubParGames_ Actually I could make it work only with rigid body and box collider components. I do understand the box collider with its isTrigger function, but why does rigidbody also plays a role here? My movement became somewhat broken after this.
@thebosy-content-warning Жыл бұрын
when i start the game the door audio starts playing until the audio is over how do i end it
@bigdaddy100562 жыл бұрын
Hello, Loving the tutorials so far but I have a problem, when I interact on the door the sound is played but no animation, I have rewatched several times and cant see anything wrong with what Ive done. I see in the description about how to fix a possible error but am confused as to what the transition bool was. Thanks
@synju2 жыл бұрын
Fixed... Delete both "open" & "closed" Bools... Create an "Open" Bool.. not "open" Apply "Open" = true ... to all Transitions.. From Idle to Open From Open to Closed From Closed to Open
@mr.genius77752 жыл бұрын
@@synju i didnt get that
@elly5k2 жыл бұрын
@@synju It works! Thank you very much
@KalzEdits2 жыл бұрын
@@synju yo thanks so much i was trying to fix it all night yesterday
@MistahLarson2 жыл бұрын
@@synju Thank you so much
@digitalhouse69692 жыл бұрын
one of the most amazing channels out there. please make more
@user1productions8832 жыл бұрын
Got so much more planned, thank you for all the support
@digitalhouse69692 жыл бұрын
@@user1productions883 btw i followed this video frame by frame and when i open the door it just closes by it's self after that, and the door sound plays in the beginning, i tried it all and it wouldn't work. any seg??
@user1productions8832 жыл бұрын
Yes this tutorial for the door was very buggy in different versions of unity, but I have an updated door tutorial, number 27 advanced doors. Please check that video out for a better system :)
@mariegrasmeier94992 жыл бұрын
Hi there, great video! This playlist is awesome! One question: is there a particular reason why you use a cube as a reach tool instead of a raycast? Never seen this before.
@user1productions8832 жыл бұрын
Thank you for the support my friend, and the reach tool in my opinion is Easier to code and manipulate for beginners.
@inshaneity20812 жыл бұрын
hello this is a great video i am using these in helping to make my first ever game i have an issue though i can't seem to get the door to remain open even after setting the idle animation for it i have rewatched it several time and don't know what is going on the door just keeps opening and then shutting as soon as it opens
@user1productions8832 жыл бұрын
This was a very buggy script for later versions of unity, please check out part 27 on my channel for a more up to date video
@fluppycat85504 ай бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class Doors : MonoBehaviour { public Animator door; public GameObject openText; public AudioSource doorSound; private bool inReach; private PlayerInputActions playerInputActions; void Awake() { playerInputActions = new PlayerInputActions(); } void OnEnable() { playerInputActions.Player.Interact.performed += OnInteract; playerInputActions.Player.Enable(); } void OnDisable() { playerInputActions.Player.Interact.performed -= OnInteract; playerInputActions.Player.Disable(); } void Start() { inReach = false; DoorCloses(); if (openText != null) { openText.SetActive(false); } } void OnTriggerEnter(Collider other) { if (other.CompareTag("reach")) { inReach = true; if (openText != null) { openText.SetActive(true); } } } void OnTriggerExit(Collider other) { if (other.CompareTag("reach")) { inReach = false; if (openText != null) { openText.SetActive(false); } } } void OnInteract(InputAction.CallbackContext context) { if (inReach) { if (door.GetBool("Open")) { DoorCloses(); } else { DoorOpens(); } } } void DoorOpens() { door.SetBool("Open", true); door.SetBool("Closed", false); doorSound.Play(); } void DoorCloses() { door.SetBool("Open", false); door.SetBool("Closed", true); doorSound.Play(); } } this should work!
@MonstrumReborn Жыл бұрын
For some reason the door does not rotate with the empty child object but just rotates like normal if it didnt have a parent empty game object
@roucifer77612 жыл бұрын
Hey User1, Thank you for the fantastic tutorial. However, one thing I have found that my character can walk through the door when it is closed, as I have edited the box collider to fit the handle.. Any advice on how I can prevent this and only allow for the player to move through once the door is open?
@oasis35612 жыл бұрын
I'm not that good with unity, but maybe try setting up another boxcollider
@VerityD22 ай бұрын
add a mesh collider
@wlw1132 жыл бұрын
I made idle animation, and set up all like I should, but my doors still instantly closes. Pls Help (i have no errors)
@coding-lab2 жыл бұрын
me too
@Trebuh21372 жыл бұрын
the door spams it closes message, it seems that it's always closed, can you help me plz?
@user1productions8832 жыл бұрын
Yes this old script was very buggy for many people, if you go on the channel to part number 27 on advanced doors it’s a better script and works perfectly
@giorgoskryo2 жыл бұрын
When I add the interact on the project setting and run the game it doesn't work
@user1productions8832 жыл бұрын
Make sure it typed exactly how it is in the script. Capitalized and everything. This door tutorial fyi is out dated and I have a more up to date video on the channel. Part #27
@giorgoskryo2 жыл бұрын
@@user1productions883 okey. Thanks
@dcry10032 жыл бұрын
hi i love your video! the way you give answers to pretty tough questions like how to open a door etc. for beginners is really amazing! one question though, who did you use a gameobject called reach instead of a raycast?
@MotiveBillion2 жыл бұрын
Parameter 'closed' does not exit unityengine setbool (string , bool ) error how to fix this and my door opening but not closing how to fix this i am a beginner please help me
@user1productions8832 жыл бұрын
Hey there my friend, this is a bug that I didn’t realize till weeks after the upload. I just uploaded a new video called advanced door with more features and less bugs. Check out that video
@MotiveBillion2 жыл бұрын
You are awsome man one day you will reach than 1M subscribers Like brackeyes For Open Door I researched lot video but i am didn't satisfied after watching your video my door work because i don't no about new input system there no problem because after pressing door door is opening just not closing awesome man keep it up and i sub your channel after watch some videos all videos are awesome keep it up
@TheOficialCyberfunk Жыл бұрын
There is a problem with my reach, when i press play it will move side to side, but not up and down!
@gamesnocommentarry72782 жыл бұрын
When i drag the door object into the GameObject it is like the game object becomes that door object and it rotates like a normal wall not like a door
@user1productions8832 жыл бұрын
The empty ganeobject make sure u place the transform where the hinge of the door will go
@gamesnocommentarry72782 жыл бұрын
I placed it right where you did, then when I put the Door to the GameObject, the game object teleports to the Door's object center and becomes it.
@user1productions8832 жыл бұрын
@@gamesnocommentarry7278 change the way you select the object from global to local. Should be a button on the top left near your transform tools
@gamesnocommentarry72782 жыл бұрын
@@user1productions883 Thanks. Also i want to thank you for your toturials, you're great at these 👍😉
@user1productions8832 жыл бұрын
@@gamesnocommentarry7278 really appreciate it my friend
@SatoriHaddad2 жыл бұрын
The ladder stopped working after I added the rigidbody component to the reach tool. Now it only works if I walk into it backwards. Anyone knows what's happening?
@danielfenton16862 жыл бұрын
Is it possible that you added the Reach tool to the wrong side of the Player Character?
@humournotfound49362 жыл бұрын
I did all the things correctly but the door still stays shut :( It does not even display open/close text[Interact part done]
@user1productions8832 жыл бұрын
This script was very buggy, but if you go onto the channel I have an updated video called advanced doors, fixing most of the problems :)
@humournotfound49362 жыл бұрын
@@user1productions883 It worked. FINALLY!!!
@claudiudumitru72572 жыл бұрын
good, what is the name of the application with which you open the scripts/where you see the codes
@user1productions8832 жыл бұрын
There’s a few scripting applications you can use, but the most popular one for unity is : visual studios
@w_ash42756 ай бұрын
Hello i relly like your video But my door keeps closing every time i open it Whats the problem I will die trying
@user1productions8836 ай бұрын
Older versions of unity worked better with this system, check out tutorial number 27, the advanced door system. Much better system with less bugs
@hassanraza-ez9li2 жыл бұрын
i have an major error all the steps i apply according to your video but when i play the game my house door is not open and in console the error of parameter "closed" does not exist appears plz reply me
@user1productions8832 жыл бұрын
This was a very buggy system with later versions of unity, I have a more up to date video on my channel. It’s part 27
@hayranee2 жыл бұрын
For me theres only Text - Textmeshpro but not Text. Can I you the Textmeshpro too?
@hayranee2 жыл бұрын
Got it. Had to use Legacy tab
@RickysVlogz2 жыл бұрын
Mine just rotates the wwhole door instead of where the hinge should be.. Is there a step I missed? I inserted the empty game object, but it doesn't do the same thing as in the video
@user1productions8832 жыл бұрын
Yes, change the pivot point of the object, also do the tutorial from part 27 it’s more up to date
@janever_2 жыл бұрын
hello! i've just gotten into ur tutorials and they have been super helpful for me. i have one question tho, i have already made the layout for my own horror game but do you know a place where i can get some textures? thanks 😊
@user1productions8832 жыл бұрын
really appreciate the support! i always have used freestocktextures (dot) com
@janever_2 жыл бұрын
@@user1productions883 your welcome! and i'll check it out, thanks a lot!
@TheFreed1711 ай бұрын
Hello, I have a few problems, my door disappears when I start the animation. Can anyone help me? please
@neyzeh357310 ай бұрын
i have the same problem and i dont know why its happening
@muhammadafiq15932 жыл бұрын
Hello Sir, Good day to you! My door interaction wont work and I have double checked across the video on what i missed. everything is in the exact way as the video, cant figure out what went wrong, any advise?
@user1productions8832 жыл бұрын
Yes this system was very buggy in newer versions of unity, I have a more up to date video on the channel, part 27
@muhammadafiq15932 жыл бұрын
@@user1productions883 I see, Noted, i am using the latest version of Unity For 2022. Just afraid that your code is calling for text function whereby im using TMP as i dont have it for my UI. Thank you sir, will proceed with the video sequence then! You the best!
@lazikbro122 жыл бұрын
@@user1productions883 i use 2017 and it wont open
@scapel008 ай бұрын
hello! i have a problem, my door can open, and then, nothing appened (I can t close it....) is somebody can help me? thanks (sorry if I made some spelling mistakes, I am french)
@Not_Tiger774 ай бұрын
Cela ne fonctionne pas pour moi non plus mais d'après ce que j'ai compris, c'est un problème avec l'animateur. parce que pour moi le texte qui apparaît et que vous pouvez interagir mais l'animation ne commence pas. Je vais chercher une méthode pour réparer. De toute façon, avez-vous trouvé des remèdes ?
@yepyepp33962 жыл бұрын
Hello, is it possible to make the same interaction system but for the mobile platform?
@SatoriHaddad2 жыл бұрын
Is there a way to avoid the reach tool going through walls?
@user1productions8832 жыл бұрын
Through code yes
@thegamingzonkslive23612 жыл бұрын
The doors not working right so when i try to open it in the edititor it turns both ways and the empty game object goes to the centre of the door?
@user1productions8832 жыл бұрын
Change the objects pivot point and in the animator from the open and close animation make sure both of the transitions is open this is a mistake on my part
@thegamingzonkslive23612 жыл бұрын
Thanks!
@MK40422 Жыл бұрын
i dont can drag in drop the door in the script like 7:50
@ga7axy Жыл бұрын
Is Reach tool method better than Raycast??
@user1productions883 Жыл бұрын
No but it is much easier to understand and code for beginners :)
@pocketcheater2 жыл бұрын
why do i get door sound at start of the game
@user1productions8832 жыл бұрын
Two things my friend, a lot of people found the script to be kind of buggy. So I made a more up-to-date video on how to do doors. That video would be number 27 on the KZbin channel. Second of all the sound is playing as soon as you start the game because in the audio source you have play on wake enabled. Meaning the sound effects will play as soon as the game play. So all you have to do is deactivate play on wake in the audio source component
@pocketcheater2 жыл бұрын
@@user1productions883 Thanks buddy, you are doing a lot of good work. I am hoping publish my horror game with help of your tutorials with unique story.
@sarlot35592 жыл бұрын
hello, I created the interaction of doors and blinds according to your video and it doesn't work for me like you do, I don't know where the error is at all. when I start the play mode and start the animation at the door, the door opens and then automatically closes, of course I don't want that. I think we did everything the way you have, but I don't know. when starting the animation, an error (NullReferenceException) appears, I don't know what it means and I don't know what to do. I would be happy if someone would help me with my problem. Thank you and have a nice day.
@user1productions8832 жыл бұрын
This was a very buggy system so I made an update to this video called advanced door system, it’s part number 27 in the series
@zing85202 жыл бұрын
The door sound still plays when I click play? (play on awake is off and have the sound put in as my source)
@user1productions8832 жыл бұрын
in the audosource turn off play on wake
@zing85202 жыл бұрын
@@user1productions883 did you see my edit, I said that my play on wake is already off and it still does it
@toongenie2 жыл бұрын
check to make sure you didn't add a duplicate audio source to the ground or some other random object, because i accidentally added one to the ground cube and it took me like 15 mins to figure it out lol
@paur.47 ай бұрын
I have an issue, the door opening sound plays when i press start, any solutions?
@johnchris45152 жыл бұрын
hello. The door doesnt work when i press e. but the sound play. what do i do with this door to rotate
@user1productions8832 жыл бұрын
Yes this system was very buggy for many people, please check video number 27, advanced doors for a better system
@johnchris45152 жыл бұрын
@@user1productions883 TYVM
@Syntecoderyo2 жыл бұрын
Great Video thanks I made some adjustments, so that the door always opens in the direction the player is facing. This called for two more animations but it was worth it imo
@fdemon8703 Жыл бұрын
how did you make this?
@Syntecoderyo Жыл бұрын
@@fdemon8703 There is a Vector3 function called Dot which basically tells you if an object is in front or behind another object. I used the value from that function to determine if youre standing in front or behind the door and then played the corresponding animation
@poluahmed21182 жыл бұрын
when i press e the door opens when i want to press e to close it will just open again can u help me with this because i need it for a project
@user1productions8832 жыл бұрын
Yes! This was a glitch that occurred with a lot of people because of the newer version of unity. I upload a video a I believe part 27 for an advanced door system and it works much better
@poluahmed21182 жыл бұрын
@@user1productions883 I fixed it thanks u just have to set all the transitions to open
@poluahmed21182 жыл бұрын
@@user1productions883 i was wondering can u make a jumpscare video tutorial?
@jackholyoak57022 жыл бұрын
Hi, when I make the empty object part of the door it changes position to the centre of the door instead of the side (like a hinge).
@krul8842 жыл бұрын
Hey do you know how to make this work on mobile platform? i wanted to make it a button where the player is in range of the door, a button appears and open/close the door (I'm new to unity so I don't know how to make this work)
@FosterCheeze2 жыл бұрын
for me the cube is just staying still it moves with mke but not up and down
@user1productions8832 жыл бұрын
This was a very buggy system and didnt seem to age will with newer versions of unity, please check out tutorial number 27 the advanced door systems for a more in depth and less buggy system
@Lightout-cl1fu9 ай бұрын
The door doesn't open when I am pressing E at it and the text doesn't appear, how do I fix that?
@karlok8745 Жыл бұрын
Hi i make the idle already but the door also open and close automatic how can i fix it
@BigTa1n2 жыл бұрын
how do you drag the door script into unity? please
@user1productions8832 жыл бұрын
Download from the google drive, and drag and drop into your assets… this system is out of date though so I suggest tutorial number 27, the advanced door system for a better working system
@BigTa1n2 жыл бұрын
@@user1productions883 thansk baby great tutorial
@PatrykQbiak Жыл бұрын
Doesn't work. I did everything same like you and door still closes fast after pressing E, Idle Animation I did.
@cookiebot.2 жыл бұрын
I have a HUGE problem the idle animation doesn’t work it still just opens and shuts by itself I have tried everything but nothing works
@user1productions8832 жыл бұрын
You should have 3 animations, idle, open, closed. Then from idle to open, have a transition with a bool attached for open, then from open to closed, and closed to open add another transition to each with the open bool
@cookiebot.2 жыл бұрын
@@user1productions883 I fixed it
@brahim225262 жыл бұрын
@@cookiebot. i have same problem how you fixed it?
@brahim225262 жыл бұрын
@@user1productions883 i think you didn't mention that on the video ? or you did?
@user1productions8832 жыл бұрын
@@brahim22526 i went over it but i put the wrong bools in. i mentioned the mistake in the description of the video. this was a mistake on my part
@Mo-velocity2 жыл бұрын
Hello! Idk if u still asnwer but i got a small issue. Im sure i did everything as u did but the problem is, that i cant open the door, when im pressing E. Idk what the reason was but there is no error in the console. If you could help me out a bit it would be amazing ^^
@user1productions8832 жыл бұрын
Did you set up the interest button in player settings ? The input manager ?
@Mo-velocity2 жыл бұрын
@@user1productions883 u mean that interaction thingie? Yes i did
@dyskrow Жыл бұрын
@@Mo-velocity Found out wat is was ?
@anthonyrl82992 жыл бұрын
Why isnt the door opening for I followed everything you did
@user1productions8832 жыл бұрын
Outdated system my friend, please check out tutorial number 27 for an advanced and better door system
@anthonyrl82992 жыл бұрын
@@user1productions883 thank u
@NikiBulgaria Жыл бұрын
for me only the idle animation did't work i did everything as the video shows but no success :(
@exsharpcheddar105 Жыл бұрын
Well can you do a update video of this so i can copy n paste the door somewhere else
@bobdeclor528 Жыл бұрын
My door opens and closes once but won't open again. Any ideas how to fix it?
@ikernavarrete2051 Жыл бұрын
Bro, when I press e, only makes the sound of the door, the door not's open and not's closes, someone please can help me?
@전창우-o6d2 жыл бұрын
I followed that all, but there is still message "Parameter 'Closed' does not exist." please help me...
@전창우-o6d2 жыл бұрын
and thanks for the nice tutorial
@user1productions8832 жыл бұрын
Appreciate the support my friend. Make sure it’s just like the script, you should see a line saying “setbool”closed”true. Be sure your parameter in the animator is typed just like the quotes in that script
@전창우-o6d2 жыл бұрын
@@user1productions883 You were right. Thanks for helping me
@user1productions8832 жыл бұрын
@@전창우-o6d awesome, no problem that was a mistake on my end
@thegamingzonkslive23612 жыл бұрын
im confused on what that means
@gorous123 Жыл бұрын
When i add the door object to the empty. It not change the pivot.
@Pixel_5152 жыл бұрын
Hey ummm I’m having a bit of a problem. When I set the door as the child of the empty game object, the door still rotates normally from the middle even though I placed the game object on the right side. Could ya help fixing it? (And yes even when I rotate the game object it still rotates from the middle)
@user1productions8832 жыл бұрын
this was a bug that happened to many people, i have a new upload ( part 27 i think) its a brand new door system that works flawlessly
@Pixel_5152 жыл бұрын
@@user1productions883 Ok! Thank you!
@Sashkoreperkrutyihlop2 жыл бұрын
uhhh my door won`t stay opened. what i can do?
@user1productions8832 жыл бұрын
This system was very buggy for many people, I’d like to direct your attention to the advanced door system I’ve made. It’s part 27 on the channel and way better with less bugs
@Sashkoreperkrutyihlop2 жыл бұрын
@@user1productions883thx man. Glory to Ukraine
@thegamingzonkslive23612 жыл бұрын
i dont understand this? the transitions from the open and closed animation should both be open
@thegamingzonkslive23612 жыл бұрын
i cant fix it
@thegamingzonkslive23612 жыл бұрын
@User1 Productions can you help?
@user1productions8832 жыл бұрын
Yes that was my fault
@unclesocks5462 жыл бұрын
@Unusual GameDev @12:19 The Condition of the Transition (on the Animator window) should be set to Open = True. Instead of having closed = True. Also note that the Parameters on the Animator window should be Open and Closed (capital first letter) instead of open and closed. Hope this helps.
@humournotfound49362 жыл бұрын
@@unclesocks546 It still stays shut even though no errors are thrown in console
@DJElliotS Жыл бұрын
Awesome tutorial! I've gotten everything to work except for one error message I'm getting back: "Parameter "Closed" does not exist". I've set up both the open and closed parameters though. Any idea what might be happening? Thanks!
@puggersxd_7420 Жыл бұрын
do you have it as closed or Closed? He did closed with a lowercase c but you need to do it with uppercase! Sry for late response!
@loganhepfner1710 Жыл бұрын
any parameters such as that will be case sensitive! try to keep that in mind as that's a mistake you will make 1000 times
@Sushi_Playz-q7j5 ай бұрын
y cant my cube go down or up it can only go sideways
@p1ck02 жыл бұрын
I have error parameter 'Open' does not exist and parameter 'Closed' does not exist. Can anyone help?
@user1productions8832 жыл бұрын
yes, this was a very buggy script and system for new versions of unity. please chekc out the advanced doors tutorial number 27 for a better system
@KlassiDev3 ай бұрын
does this work with multiple doors?
@KalzEdits2 жыл бұрын
My reach tool hasn't opened the door whatever i try
@EvoSpore Жыл бұрын
One problem I have is that nothing shows up and I can't Interact with the door?
@EvoSpore Жыл бұрын
The animation doesnt work either
@darkstar35582 жыл бұрын
so when i open the door, it does open but then it instantly closes. I was hoping you could help me. Other than that, this is a great tutorial!
@user1productions8832 жыл бұрын
This tutorial is out of date, please check the channel for advanced doors, tutorial number 27
@Baba-ic4un2 жыл бұрын
Getting some problems of sounds played when I start and don't play when I open or close the door...plz help 😭😭
@user1productions8832 жыл бұрын
this was a bug that happened to many people, i have a new upload ( part 27 i think) its a brand new door system that works flawlessly
@hsaby98012 жыл бұрын
I want to know what you named this unity horror game
@user1productions8832 жыл бұрын
I’m making a game from these tutorial videos, it’s going to be called Operation Horror. I think, names are definitely difficult
@sougiasG9 ай бұрын
Thanks for the tutorials you are great , i had a problem for some reason with this script , even tho i added the idle state of the door it kept getting closed after i opened it so i changed the script in the if statement to : void Update() { if (inReach && Input.GetButtonDown("Interact") && door.GetBool("Closed") && door.GetBool("Idle")) { DoorOpens(); } else if (inReach && Input.GetButtonDown("Interact") && door.GetBool("Open")) { DoorCloses(); } I added a bool named "Idle" and the checked the idle and closed bools so it startes like this and seems to be working fine , i hope i helped someone with this
@crystat_eyee7 ай бұрын
can u pls explain what u did after adding the bool idle as i could not get that part
@danlaji2 жыл бұрын
i didn't understand whats in description
@user1productions8832 жыл бұрын
in the descritpion is a link to my google drive, this is where I put all assets (scripts, models, sound effect, etc) that I use in the tutorial videos for a free download for everyone. To either use as a prototype, template, or a finished product for there games. All assets have no copyrights on them and I allow everyone to use them for free!
@rockstarz422 жыл бұрын
@@user1productions883 what do you mean by YES I messed up sorry. change the transition bools to open on both and it will work !! ?
@spiliosmaderakis44942 жыл бұрын
for some reason my reach cube just doesnt want to cooperate, unfortunately this could be due to a number of reasons but I dont know why it keeps having several problems, for starters it only moves to the left and to the right but not up and down idk why and sometimes it just completely detaches from the playercontroller which is v weird considering it is a child of the user OBJ
@spiliosmaderakis44942 жыл бұрын
Literally realized my mistake while typing this out I had made it a child of the User not the FPSCharacter, hope this may help someone
@user1productions8832 жыл бұрын
Yes you need it part of your camera, not the player. Something else if this door system proves to be buggy for you check out the updated tutorial number 27 on the channel
@spiliosmaderakis44942 жыл бұрын
@@user1productions883 I just reached that episode right now, but thanks alot!
@unitywith_misavondo2 жыл бұрын
why the door still open and close automatically?
@user1productions8832 жыл бұрын
this was a mistake on my part. the transition from the open and closed aniamtion should both be the open bool. and this will fix it
@unitywith_misavondo2 жыл бұрын
@@user1productions883 Oh i see, is true all or false and true
@soltan4566 Жыл бұрын
Hi bro, thank you for the tutorial Can you give me the complete source link so I can download it?
@interclone79682 ай бұрын
ty so much for putting the code in google drive i would have to type all of that otherwise
@Sushi_Playz-q7j4 ай бұрын
Did he make a vid on how to upload the horror monsters
@OniShrek2 жыл бұрын
the door rotates from the middle
@wlw1132 жыл бұрын
You have to set ''Tool handle position'' (it's under scene button) to ''Pivot'' instead of ''Center'' on GameObject
@user1productions8832 жыл бұрын
Yes you do have to change to pivot point but also This system was very buggy for many people, I’d like to direct your attention to the advanced door system I’ve made. It’s part 27 on the channel and way better with less bugs
@johanolivier3029 Жыл бұрын
doesnt work , the moment you parent the door to empty game object the pivot point becomes the same as the door
@cassiusvinicius6 ай бұрын
Select the hinge, now in your scene preview window top-left there is a box set to center, set it to pivot.
@xezienstudios2 жыл бұрын
How do i change the Interact?
@user1productions8832 жыл бұрын
If you go to edit, user preferences, input settings, you have to add a new input which I just called interact for all my Scripps. And then inside of there it’s going to ask what the positive button is you can change that to any button on the keyboard
@xezienstudios2 жыл бұрын
@@user1productions883 edit on the topbar of unity ?
@xezienstudios2 жыл бұрын
@@user1productions883 user preferences isn't there and idk what i would put for E ? would i just put "e"
@user1productions8832 жыл бұрын
@@xezienstudios edit - user preferences - inut - add imputs - then call it Interact and positive button is e
@xezienstudios2 жыл бұрын
@@user1productions883 Do you mean Project Settuhgs -> input manager
@doomraider08955 ай бұрын
how do I change the transition bools to open on both
@ramelsteel37822 жыл бұрын
i can not add door to the door animator what can i do for this
@ramelsteel37822 жыл бұрын
my unity ver is 2020.3
@user1productions8832 жыл бұрын
@@ramelsteel3782 I didn’t realize there is a time but this code in system is kind of buggy sometimes. I just released a new video on the channel for advance stores that includes more features and a smoother workflow, I highly advise going to watch that one
@ramelsteel37822 жыл бұрын
@@user1productions883 okay my friend i will check it
@wicksley2 жыл бұрын
Great video Thank you :D
@lazikbro12 Жыл бұрын
door never opens only plays sound and shows text
@rdexW Жыл бұрын
I did everything but the door won't open
@SpookyAlexplays3 жыл бұрын
Works just fine. I had some issues cuz I'm an idiot but I made it work. lol
@user1productions8833 жыл бұрын
I did make a slight error inside unity myself and I didn’t realize until uploading. After you’ve done everything and created the animator tree, the transitions from the open and closed animation should both be open
@SpookyAlexplays3 жыл бұрын
@@user1productions883 I left you some suggestions for future videos in the ladder tutorial so pls consider doing some of those cuz i kinda want those things in the game im making.
@user1productions8833 жыл бұрын
I saw them my friend! Most of those suggestions you commented I’ve already planned on doing for future videos! Stayed tuned my friend
@SpookyAlexplays3 жыл бұрын
@@user1productions883 Perfect thank you.
@Baba-ic4un2 жыл бұрын
@@user1productions883 bro this comment help me a lot 😭 😭😭..I cried after getting it..I followed your video but shows error in parameters..I checked your video for 3 days and after reading this comment... 😭😭😭
@SIS_GAMER5 ай бұрын
where is code Doors
@MK40422 Жыл бұрын
Not working can you help me please
@charm558 Жыл бұрын
nice work
@Xroguy10 ай бұрын
the problem is with his video tutorials he a cuts a important part of the video and then it leaves people clueless like how did he do that. like i watch this video 100 times to see what I did wrong but the code never worked because he skipped a very important part of the video
@GUNT2342 жыл бұрын
why my doors cant close
@laurao.728Ай бұрын
didn't work for me
@OmeedNOuhadi Жыл бұрын
👏👏👏👏👏👏👏
@GodpostalRemik2 жыл бұрын
I need hiding spot bro
@user1productions8832 жыл бұрын
Gonna be going over hiding spots very soon my friend