How To Make A HORROR Game In Unity | Doors | Horror Series Part 003

  Рет қаралды 59,233

User1 Productions

User1 Productions

Күн бұрын

Пікірлер: 290
@YuYu-Bi
@YuYu-Bi 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
This is factual ! Should have mentioned this
@akumasekais
@akumasekais Жыл бұрын
Please elaborate. I like to have multiple doors in my environment.
@akumasekais
@akumasekais Жыл бұрын
Should i declare a delegate?
@emielv8365
@emielv8365 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
There is a more up to date tutorial on the channel in part number 27, the advanced door system
@emielv8365
@emielv8365 2 жыл бұрын
@@user1productions883 I know, but I just wanted clarify, because I got this error as well and I wanted to show my solution
@ikbencringeikbencringe453
@ikbencringeikbencringe453 2 жыл бұрын
omg legend bro i was stuck on this tutorial for hours doing it over and over again
@p1ck0
@p1ck0 2 жыл бұрын
thank you so much!
@gustavlarsen8612
@gustavlarsen8612 2 жыл бұрын
thank you, you you are a good man/women/other/penguin kutgw 😁
@renzbolado153
@renzbolado153 2 жыл бұрын
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-dx4e
@Theboys123-dx4e 9 ай бұрын
I know this is old, but man it’s a lifesaver. Thank you so much.
@Not_Tiger77
@Not_Tiger77 4 ай бұрын
What version of unity you have?
@skizzy.mp4
@skizzy.mp4 2 жыл бұрын
"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)
@user1productions883
@user1productions883 2 жыл бұрын
Hahaha I love the Dani reference! And thank you my friend I’m glad you enjoyed ! I really appreciate the support
@JRockThumper
@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
@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 🙏
@MarioWZul
@MarioWZul 28 күн бұрын
@@omarelgendy516did you found a fix?
@fdemon8703
@fdemon8703 Жыл бұрын
The sound also plays in the beggining, how could i change this?
@shenngamer975
@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-e3v
@bizi-e3v 2 жыл бұрын
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
@BogdanKonstantinManzar
@BogdanKonstantinManzar 5 күн бұрын
Note: if using newer version of unity you need to set input handling mode to both in project settings to avoid errors
@SubParGames_
@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.
@hangyboi
@hangyboi 5 ай бұрын
man you saved my life, I was struggling with it for some time now
@SubParGames_
@SubParGames_ 5 ай бұрын
@@hangyboi no problem!
@hangyboi
@hangyboi 5 ай бұрын
@@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
@thebosy-content-warning Жыл бұрын
when i start the game the door audio starts playing until the audio is over how do i end it
@bigdaddy10056
@bigdaddy10056 2 жыл бұрын
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
@synju
@synju 2 жыл бұрын
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.genius7775
@mr.genius7775 2 жыл бұрын
@@synju i didnt get that
@elly5k
@elly5k 2 жыл бұрын
@@synju It works! Thank you very much
@KalzEdits
@KalzEdits 2 жыл бұрын
@@synju yo thanks so much i was trying to fix it all night yesterday
@MistahLarson
@MistahLarson 2 жыл бұрын
@@synju Thank you so much
@digitalhouse6969
@digitalhouse6969 2 жыл бұрын
one of the most amazing channels out there. please make more
@user1productions883
@user1productions883 2 жыл бұрын
Got so much more planned, thank you for all the support
@digitalhouse6969
@digitalhouse6969 2 жыл бұрын
@@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??
@user1productions883
@user1productions883 2 жыл бұрын
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 :)
@mariegrasmeier9499
@mariegrasmeier9499 2 жыл бұрын
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.
@user1productions883
@user1productions883 2 жыл бұрын
Thank you for the support my friend, and the reach tool in my opinion is Easier to code and manipulate for beginners.
@inshaneity2081
@inshaneity2081 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
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
@fluppycat8550
@fluppycat8550 4 ай бұрын
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
@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
@roucifer7761
@roucifer7761 2 жыл бұрын
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?
@oasis3561
@oasis3561 2 жыл бұрын
I'm not that good with unity, but maybe try setting up another boxcollider
@VerityD2
@VerityD2 2 ай бұрын
add a mesh collider
@wlw113
@wlw113 2 жыл бұрын
I made idle animation, and set up all like I should, but my doors still instantly closes. Pls Help (i have no errors)
@coding-lab
@coding-lab 2 жыл бұрын
me too
@Trebuh2137
@Trebuh2137 2 жыл бұрын
the door spams it closes message, it seems that it's always closed, can you help me plz?
@user1productions883
@user1productions883 2 жыл бұрын
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
@giorgoskryo
@giorgoskryo 2 жыл бұрын
When I add the interact on the project setting and run the game it doesn't work
@user1productions883
@user1productions883 2 жыл бұрын
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
@giorgoskryo
@giorgoskryo 2 жыл бұрын
@@user1productions883 okey. Thanks
@dcry1003
@dcry1003 2 жыл бұрын
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?
@MotiveBillion
@MotiveBillion 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
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
@MotiveBillion
@MotiveBillion 2 жыл бұрын
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
@TheOficialCyberfunk Жыл бұрын
There is a problem with my reach, when i press play it will move side to side, but not up and down!
@gamesnocommentarry7278
@gamesnocommentarry7278 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
The empty ganeobject make sure u place the transform where the hinge of the door will go
@gamesnocommentarry7278
@gamesnocommentarry7278 2 жыл бұрын
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.
@user1productions883
@user1productions883 2 жыл бұрын
@@gamesnocommentarry7278 change the way you select the object from global to local. Should be a button on the top left near your transform tools
@gamesnocommentarry7278
@gamesnocommentarry7278 2 жыл бұрын
@@user1productions883 Thanks. Also i want to thank you for your toturials, you're great at these 👍😉
@user1productions883
@user1productions883 2 жыл бұрын
@@gamesnocommentarry7278 really appreciate it my friend
@SatoriHaddad
@SatoriHaddad 2 жыл бұрын
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?
@danielfenton1686
@danielfenton1686 2 жыл бұрын
Is it possible that you added the Reach tool to the wrong side of the Player Character?
@humournotfound4936
@humournotfound4936 2 жыл бұрын
I did all the things correctly but the door still stays shut :( It does not even display open/close text[Interact part done]
@user1productions883
@user1productions883 2 жыл бұрын
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 :)
@humournotfound4936
@humournotfound4936 2 жыл бұрын
@@user1productions883 It worked. FINALLY!!!
@claudiudumitru7257
@claudiudumitru7257 2 жыл бұрын
good, what is the name of the application with which you open the scripts/where you see the codes
@user1productions883
@user1productions883 2 жыл бұрын
There’s a few scripting applications you can use, but the most popular one for unity is : visual studios
@w_ash4275
@w_ash4275 6 ай бұрын
Hello i relly like your video But my door keeps closing every time i open it Whats the problem I will die trying
@user1productions883
@user1productions883 6 ай бұрын
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-ez9li
@hassanraza-ez9li 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
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
@hayranee
@hayranee 2 жыл бұрын
For me theres only Text - Textmeshpro but not Text. Can I you the Textmeshpro too?
@hayranee
@hayranee 2 жыл бұрын
Got it. Had to use Legacy tab
@RickysVlogz
@RickysVlogz 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
Yes, change the pivot point of the object, also do the tutorial from part 27 it’s more up to date
@janever_
@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 😊
@user1productions883
@user1productions883 2 жыл бұрын
really appreciate the support! i always have used freestocktextures (dot) com
@janever_
@janever_ 2 жыл бұрын
@@user1productions883 your welcome! and i'll check it out, thanks a lot!
@TheFreed17
@TheFreed17 11 ай бұрын
Hello, I have a few problems, my door disappears when I start the animation. Can anyone help me? please
@neyzeh3573
@neyzeh3573 10 ай бұрын
i have the same problem and i dont know why its happening
@muhammadafiq1593
@muhammadafiq1593 2 жыл бұрын
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?
@user1productions883
@user1productions883 2 жыл бұрын
Yes this system was very buggy in newer versions of unity, I have a more up to date video on the channel, part 27
@muhammadafiq1593
@muhammadafiq1593 2 жыл бұрын
@@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!
@lazikbro12
@lazikbro12 2 жыл бұрын
@@user1productions883 i use 2017 and it wont open
@scapel00
@scapel00 8 ай бұрын
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_Tiger77
@Not_Tiger77 4 ай бұрын
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 ?
@yepyepp3396
@yepyepp3396 2 жыл бұрын
Hello, is it possible to make the same interaction system but for the mobile platform?
@SatoriHaddad
@SatoriHaddad 2 жыл бұрын
Is there a way to avoid the reach tool going through walls?
@user1productions883
@user1productions883 2 жыл бұрын
Through code yes
@thegamingzonkslive2361
@thegamingzonkslive2361 2 жыл бұрын
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?
@user1productions883
@user1productions883 2 жыл бұрын
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
@thegamingzonkslive2361
@thegamingzonkslive2361 2 жыл бұрын
Thanks!
@MK40422
@MK40422 Жыл бұрын
i dont can drag in drop the door in the script like 7:50
@ga7axy
@ga7axy Жыл бұрын
Is Reach tool method better than Raycast??
@user1productions883
@user1productions883 Жыл бұрын
No but it is much easier to understand and code for beginners :)
@pocketcheater
@pocketcheater 2 жыл бұрын
why do i get door sound at start of the game
@user1productions883
@user1productions883 2 жыл бұрын
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
@pocketcheater
@pocketcheater 2 жыл бұрын
@@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.
@sarlot3559
@sarlot3559 2 жыл бұрын
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.
@user1productions883
@user1productions883 2 жыл бұрын
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
@zing8520
@zing8520 2 жыл бұрын
The door sound still plays when I click play? (play on awake is off and have the sound put in as my source)
@user1productions883
@user1productions883 2 жыл бұрын
in the audosource turn off play on wake
@zing8520
@zing8520 2 жыл бұрын
@@user1productions883 did you see my edit, I said that my play on wake is already off and it still does it
@toongenie
@toongenie 2 жыл бұрын
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.4
@paur.4 7 ай бұрын
I have an issue, the door opening sound plays when i press start, any solutions?
@johnchris4515
@johnchris4515 2 жыл бұрын
hello. The door doesnt work when i press e. but the sound play. what do i do with this door to rotate
@user1productions883
@user1productions883 2 жыл бұрын
Yes this system was very buggy for many people, please check video number 27, advanced doors for a better system
@johnchris4515
@johnchris4515 2 жыл бұрын
@@user1productions883 TYVM
@Syntecoderyo
@Syntecoderyo 2 жыл бұрын
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
@fdemon8703 Жыл бұрын
how did you make this?
@Syntecoderyo
@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
@poluahmed2118
@poluahmed2118 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
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
@poluahmed2118
@poluahmed2118 2 жыл бұрын
@@user1productions883 I fixed it thanks u just have to set all the transitions to open
@poluahmed2118
@poluahmed2118 2 жыл бұрын
@@user1productions883 i was wondering can u make a jumpscare video tutorial?
@jackholyoak5702
@jackholyoak5702 2 жыл бұрын
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).
@krul884
@krul884 2 жыл бұрын
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)
@FosterCheeze
@FosterCheeze 2 жыл бұрын
for me the cube is just staying still it moves with mke but not up and down
@user1productions883
@user1productions883 2 жыл бұрын
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-cl1fu
@Lightout-cl1fu 9 ай бұрын
The door doesn't open when I am pressing E at it and the text doesn't appear, how do I fix that?
@karlok8745
@karlok8745 Жыл бұрын
Hi i make the idle already but the door also open and close automatic how can i fix it
@BigTa1n
@BigTa1n 2 жыл бұрын
how do you drag the door script into unity? please
@user1productions883
@user1productions883 2 жыл бұрын
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
@BigTa1n
@BigTa1n 2 жыл бұрын
@@user1productions883 thansk baby great tutorial
@PatrykQbiak
@PatrykQbiak Жыл бұрын
Doesn't work. I did everything same like you and door still closes fast after pressing E, Idle Animation I did.
@cookiebot.
@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
@user1productions883
@user1productions883 2 жыл бұрын
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.
@cookiebot. 2 жыл бұрын
@@user1productions883 I fixed it
@brahim22526
@brahim22526 2 жыл бұрын
@@cookiebot. i have same problem how you fixed it?
@brahim22526
@brahim22526 2 жыл бұрын
@@user1productions883 i think you didn't mention that on the video ? or you did?
@user1productions883
@user1productions883 2 жыл бұрын
@@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-velocity
@Mo-velocity 2 жыл бұрын
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 ^^
@user1productions883
@user1productions883 2 жыл бұрын
Did you set up the interest button in player settings ? The input manager ?
@Mo-velocity
@Mo-velocity 2 жыл бұрын
@@user1productions883 u mean that interaction thingie? Yes i did
@dyskrow
@dyskrow Жыл бұрын
@@Mo-velocity Found out wat is was ?
@anthonyrl8299
@anthonyrl8299 2 жыл бұрын
Why isnt the door opening for I followed everything you did
@user1productions883
@user1productions883 2 жыл бұрын
Outdated system my friend, please check out tutorial number 27 for an advanced and better door system
@anthonyrl8299
@anthonyrl8299 2 жыл бұрын
@@user1productions883 thank u
@NikiBulgaria
@NikiBulgaria Жыл бұрын
for me only the idle animation did't work i did everything as the video shows but no success :(
@exsharpcheddar105
@exsharpcheddar105 Жыл бұрын
Well can you do a update video of this so i can copy n paste the door somewhere else
@bobdeclor528
@bobdeclor528 Жыл бұрын
My door opens and closes once but won't open again. Any ideas how to fix it?
@ikernavarrete2051
@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?
@전창우-o6d
@전창우-o6d 2 жыл бұрын
I followed that all, but there is still message "Parameter 'Closed' does not exist." please help me...
@전창우-o6d
@전창우-o6d 2 жыл бұрын
and thanks for the nice tutorial
@user1productions883
@user1productions883 2 жыл бұрын
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
@전창우-o6d
@전창우-o6d 2 жыл бұрын
​@@user1productions883 You were right. Thanks for helping me
@user1productions883
@user1productions883 2 жыл бұрын
@@전창우-o6d awesome, no problem that was a mistake on my end
@thegamingzonkslive2361
@thegamingzonkslive2361 2 жыл бұрын
im confused on what that means
@gorous123
@gorous123 Жыл бұрын
When i add the door object to the empty. It not change the pivot.
@Pixel_515
@Pixel_515 2 жыл бұрын
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)
@user1productions883
@user1productions883 2 жыл бұрын
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_515
@Pixel_515 2 жыл бұрын
@@user1productions883 Ok! Thank you!
@Sashkoreperkrutyihlop
@Sashkoreperkrutyihlop 2 жыл бұрын
uhhh my door won`t stay opened. what i can do?
@user1productions883
@user1productions883 2 жыл бұрын
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
@Sashkoreperkrutyihlop
@Sashkoreperkrutyihlop 2 жыл бұрын
@@user1productions883thx man. Glory to Ukraine
@thegamingzonkslive2361
@thegamingzonkslive2361 2 жыл бұрын
i dont understand this? the transitions from the open and closed animation should both be open
@thegamingzonkslive2361
@thegamingzonkslive2361 2 жыл бұрын
i cant fix it
@thegamingzonkslive2361
@thegamingzonkslive2361 2 жыл бұрын
@User1 Productions can you help?
@user1productions883
@user1productions883 2 жыл бұрын
Yes that was my fault
@unclesocks546
@unclesocks546 2 жыл бұрын
@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.
@humournotfound4936
@humournotfound4936 2 жыл бұрын
@@unclesocks546 It still stays shut even though no errors are thrown in console
@DJElliotS
@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
@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
@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-q7j
@Sushi_Playz-q7j 5 ай бұрын
y cant my cube go down or up it can only go sideways
@p1ck0
@p1ck0 2 жыл бұрын
I have error parameter 'Open' does not exist and parameter 'Closed' does not exist. Can anyone help?
@user1productions883
@user1productions883 2 жыл бұрын
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
@KlassiDev
@KlassiDev 3 ай бұрын
does this work with multiple doors?
@KalzEdits
@KalzEdits 2 жыл бұрын
My reach tool hasn't opened the door whatever i try
@EvoSpore
@EvoSpore Жыл бұрын
One problem I have is that nothing shows up and I can't Interact with the door?
@EvoSpore
@EvoSpore Жыл бұрын
The animation doesnt work either
@darkstar3558
@darkstar3558 2 жыл бұрын
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!
@user1productions883
@user1productions883 2 жыл бұрын
This tutorial is out of date, please check the channel for advanced doors, tutorial number 27
@Baba-ic4un
@Baba-ic4un 2 жыл бұрын
Getting some problems of sounds played when I start and don't play when I open or close the door...plz help 😭😭
@user1productions883
@user1productions883 2 жыл бұрын
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
@hsaby9801
@hsaby9801 2 жыл бұрын
I want to know what you named this unity horror game
@user1productions883
@user1productions883 2 жыл бұрын
I’m making a game from these tutorial videos, it’s going to be called Operation Horror. I think, names are definitely difficult
@sougiasG
@sougiasG 9 ай бұрын
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_eyee
@crystat_eyee 7 ай бұрын
can u pls explain what u did after adding the bool idle as i could not get that part
@danlaji
@danlaji 2 жыл бұрын
i didn't understand whats in description
@user1productions883
@user1productions883 2 жыл бұрын
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!
@rockstarz42
@rockstarz42 2 жыл бұрын
@@user1productions883 what do you mean by YES I messed up sorry. change the transition bools to open on both and it will work !! ?
@spiliosmaderakis4494
@spiliosmaderakis4494 2 жыл бұрын
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
@spiliosmaderakis4494
@spiliosmaderakis4494 2 жыл бұрын
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
@user1productions883
@user1productions883 2 жыл бұрын
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
@spiliosmaderakis4494
@spiliosmaderakis4494 2 жыл бұрын
@@user1productions883 I just reached that episode right now, but thanks alot!
@unitywith_misavondo
@unitywith_misavondo 2 жыл бұрын
why the door still open and close automatically?
@user1productions883
@user1productions883 2 жыл бұрын
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_misavondo
@unitywith_misavondo 2 жыл бұрын
@@user1productions883 Oh i see, is true all or false and true
@soltan4566
@soltan4566 Жыл бұрын
Hi bro, thank you for the tutorial Can you give me the complete source link so I can download it?
@interclone7968
@interclone7968 2 ай бұрын
ty so much for putting the code in google drive i would have to type all of that otherwise
@Sushi_Playz-q7j
@Sushi_Playz-q7j 4 ай бұрын
Did he make a vid on how to upload the horror monsters
@OniShrek
@OniShrek 2 жыл бұрын
the door rotates from the middle
@wlw113
@wlw113 2 жыл бұрын
You have to set ''Tool handle position'' (it's under scene button) to ''Pivot'' instead of ''Center'' on GameObject
@user1productions883
@user1productions883 2 жыл бұрын
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
@johanolivier3029 Жыл бұрын
doesnt work , the moment you parent the door to empty game object the pivot point becomes the same as the door
@cassiusvinicius
@cassiusvinicius 6 ай бұрын
Select the hinge, now in your scene preview window top-left there is a box set to center, set it to pivot.
@xezienstudios
@xezienstudios 2 жыл бұрын
How do i change the Interact?
@user1productions883
@user1productions883 2 жыл бұрын
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
@xezienstudios
@xezienstudios 2 жыл бұрын
@@user1productions883 edit on the topbar of unity ?
@xezienstudios
@xezienstudios 2 жыл бұрын
@@user1productions883 user preferences isn't there and idk what i would put for E ? would i just put "e"
@user1productions883
@user1productions883 2 жыл бұрын
@@xezienstudios edit - user preferences - inut - add imputs - then call it Interact and positive button is e
@xezienstudios
@xezienstudios 2 жыл бұрын
@@user1productions883 Do you mean Project Settuhgs -> input manager
@doomraider0895
@doomraider0895 5 ай бұрын
how do I change the transition bools to open on both
@ramelsteel3782
@ramelsteel3782 2 жыл бұрын
i can not add door to the door animator what can i do for this
@ramelsteel3782
@ramelsteel3782 2 жыл бұрын
my unity ver is 2020.3
@user1productions883
@user1productions883 2 жыл бұрын
@@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
@ramelsteel3782
@ramelsteel3782 2 жыл бұрын
@@user1productions883 okay my friend i will check it
@wicksley
@wicksley 2 жыл бұрын
Great video Thank you :D
@lazikbro12
@lazikbro12 Жыл бұрын
door never opens only plays sound and shows text
@rdexW
@rdexW Жыл бұрын
I did everything but the door won't open
@SpookyAlexplays
@SpookyAlexplays 3 жыл бұрын
Works just fine. I had some issues cuz I'm an idiot but I made it work. lol
@user1productions883
@user1productions883 3 жыл бұрын
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
@SpookyAlexplays
@SpookyAlexplays 3 жыл бұрын
@@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.
@user1productions883
@user1productions883 3 жыл бұрын
I saw them my friend! Most of those suggestions you commented I’ve already planned on doing for future videos! Stayed tuned my friend
@SpookyAlexplays
@SpookyAlexplays 3 жыл бұрын
@@user1productions883 Perfect thank you.
@Baba-ic4un
@Baba-ic4un 2 жыл бұрын
@@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_GAMER
@SIS_GAMER 5 ай бұрын
where is code Doors
@MK40422
@MK40422 Жыл бұрын
Not working can you help me please
@charm558
@charm558 Жыл бұрын
nice work
@Xroguy
@Xroguy 10 ай бұрын
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
@GUNT234
@GUNT234 2 жыл бұрын
why my doors cant close
@laurao.728
@laurao.728 Ай бұрын
didn't work for me
@OmeedNOuhadi
@OmeedNOuhadi Жыл бұрын
👏👏👏👏👏👏👏
@GodpostalRemik
@GodpostalRemik 2 жыл бұрын
I need hiding spot bro
@user1productions883
@user1productions883 2 жыл бұрын
Gonna be going over hiding spots very soon my friend
How To Make A HORROR Game In Unity | Flashlights | Horror Series Part 004
4:30
I made a horror game in one day
13:33
shawcat
Рет қаралды 6 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 52 МЛН
Why you should (almost) never shoot yourself in Buckshot Roulette
42:22
Delightful Kissboy
Рет қаралды 332 М.
Animated Doors (Global & Local) Udon Tutorial (ENG)
12:57
KireNeko
Рет қаралды 10 М.
FIRST PERSON INTERACTION in Unity!
9:40
Kabungus
Рет қаралды 17 М.
Making a difficult game about fitting in - Acerola Jam 0
19:17
jess::codes
Рет қаралды 459 М.
I made a horror game in 48 hours
10:33
BerryCo
Рет қаралды 102 М.
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 569 М.