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

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 290

  • @YuYu-Bi
    @YuYu-Bi 2 года назад +29

    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 года назад +11

      This is factual ! Should have mentioned this

    • @akumasekais
      @akumasekais Год назад +2

      Please elaborate. I like to have multiple doors in my environment.

    • @akumasekais
      @akumasekais Год назад +3

      Should i declare a delegate?

  • @renzbolado153
    @renzbolado153 2 года назад +28

    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

  • @emielv8365
    @emielv8365 2 года назад +92

    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 года назад +8

      There is a more up to date tutorial on the channel in part number 27, the advanced door system

    • @emielv8365
      @emielv8365 2 года назад +8

      @@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 года назад +7

      omg legend bro i was stuck on this tutorial for hours doing it over and over again

    • @p1ck0
      @p1ck0 2 года назад +1

      thank you so much!

    • @gustavlarsen8612
      @gustavlarsen8612 2 года назад +1

      thank you, you you are a good man/women/other/penguin kutgw 😁

  • @Theboys123-dx4e
    @Theboys123-dx4e 9 месяцев назад +3

    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 года назад +7

    "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 года назад +2

      Hahaha I love the Dani reference! And thank you my friend I’m glad you enjoyed ! I really appreciate the support

  • @JRockThumper
    @JRockThumper Год назад +4

    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 Месяц назад

      @@omarelgendy516did you found a fix?

  • @fdemon8703
    @fdemon8703 Год назад +4

    The sound also plays in the beggining, how could i change this?

  • @shenngamer975
    @shenngamer975 Год назад +4

    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?)

  • @digitalhouse6969
    @digitalhouse6969 2 года назад +1

    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 года назад +1

      @@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 года назад +1

      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 :)

  • @bizi-e3v
    @bizi-e3v 2 года назад +6

    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

  • @thebosy-content-warning
    @thebosy-content-warning 2 года назад +3

    when i start the game the door audio starts playing until the audio is over how do i end it

  • @mariegrasmeier9499
    @mariegrasmeier9499 2 года назад +4

    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 года назад +4

      Thank you for the support my friend, and the reach tool in my opinion is Easier to code and manipulate for beginners.

  • @dcry1003
    @dcry1003 2 года назад +1

    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?

  • @bigdaddy10056
    @bigdaddy10056 2 года назад +6

    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 года назад +9

      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 года назад +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

  • @Trebuh2137
    @Trebuh2137 2 года назад +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

  • @wlw113
    @wlw113 2 года назад +2

    I made idle animation, and set up all like I should, but my doors still instantly closes. Pls Help (i have no errors)

  • @scapel00
    @scapel00 9 месяцев назад +1

    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 месяца назад +1

      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 ?

  • @roucifer7761
    @roucifer7761 2 года назад +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 года назад +1

      I'm not that good with unity, but maybe try setting up another boxcollider

    • @VerityD2
      @VerityD2 3 месяца назад

      add a mesh collider

  • @yepyepp3396
    @yepyepp3396 2 года назад +1

    Hello, is it possible to make the same interaction system but for the mobile platform?

  • @MonstrumReborn
    @MonstrumReborn Год назад +1

    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

  • @SatoriHaddad
    @SatoriHaddad 2 года назад +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 года назад +1

      Is it possible that you added the Reach tool to the wrong side of the Player Character?

  • @TheOficialCyberfunk
    @TheOficialCyberfunk 2 года назад +1

    There is a problem with my reach, when i press play it will move side to side, but not up and down!

  • @humournotfound4936
    @humournotfound4936 2 года назад +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!!!

  • @SubParGames_
    @SubParGames_ 8 месяцев назад +2

    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 6 месяцев назад +1

      man you saved my life, I was struggling with it for some time now

    • @SubParGames_
      @SubParGames_ 6 месяцев назад

      @@hangyboi no problem!

    • @hangyboi
      @hangyboi 6 месяцев назад

      @@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.

  • @MotiveBillion
    @MotiveBillion 2 года назад +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 года назад +1

      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

  • @giorgoskryo
    @giorgoskryo 2 года назад +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

  • @Syntecoderyo
    @Syntecoderyo 2 года назад +1

    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

  • @inshaneity2081
    @inshaneity2081 2 года назад +3

    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 года назад +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!

  • @janever_
    @janever_ 2 года назад +5

    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 года назад +6

      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!

  • @BogdanKonstantinManzar
    @BogdanKonstantinManzar 13 дней назад

    Note: if using newer version of unity you need to set input handling mode to both in project settings to avoid errors

  • @SatoriHaddad
    @SatoriHaddad 2 года назад +2

    Is there a way to avoid the reach tool going through walls?

  • @ga7axy
    @ga7axy Год назад +1

    Is Reach tool method better than Raycast??

    • @user1productions883
      @user1productions883  Год назад +1

      No but it is much easier to understand and code for beginners :)

  • @TheFreed17
    @TheFreed17 11 месяцев назад +1

    Hello, I have a few problems, my door disappears when I start the animation. Can anyone help me? please

    • @neyzeh3573
      @neyzeh3573 11 месяцев назад +1

      i have the same problem and i dont know why its happening

  • @paur.4
    @paur.4 8 месяцев назад

    I have an issue, the door opening sound plays when i press start, any solutions?

  • @claudiudumitru7257
    @claudiudumitru7257 2 года назад +1

    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

  • @sarlot3559
    @sarlot3559 2 года назад +1

    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 года назад +1

      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

  • @RickyCastelucci
    @RickyCastelucci 2 года назад +1

    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

  • @BigTa1n
    @BigTa1n 2 года назад +2

    how do you drag the door script into unity? please

    • @user1productions883
      @user1productions883  2 года назад +1

      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

  • @hayranee
    @hayranee 2 года назад +1

    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

  • @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).

  • @zing8520
    @zing8520 2 года назад +1

    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 года назад +1

      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

  • @thegamingzonkslive2361
    @thegamingzonkslive2361 2 года назад +1

    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!

  • @hassanraza-ez9li
    @hassanraza-ez9li 2 года назад +1

    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

  • @gorous123
    @gorous123 Год назад

    When i add the door object to the empty. It not change the pivot.

  • @karlok8745
    @karlok8745 Год назад

    Hi i make the idle already but the door also open and close automatic how can i fix it

  • @KalzEdits
    @KalzEdits 2 года назад +1

    My reach tool hasn't opened the door whatever i try

  • @bobdeclor528
    @bobdeclor528 Год назад

    My door opens and closes once but won't open again. Any ideas how to fix it?

  • @gamesnocommentarry7278
    @gamesnocommentarry7278 2 года назад +3

    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 года назад +2

      The empty ganeobject make sure u place the transform where the hinge of the door will go

    • @gamesnocommentarry7278
      @gamesnocommentarry7278 2 года назад +1

      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 года назад +1

      @@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 года назад +1

      @@user1productions883 Thanks. Also i want to thank you for your toturials, you're great at these 👍😉

    • @user1productions883
      @user1productions883  2 года назад +1

      @@gamesnocommentarry7278 really appreciate it my friend

  • @MK40422
    @MK40422 Год назад

    i dont can drag in drop the door in the script like 7:50

  • @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)

  • @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?

  • @muhammadafiq1593
    @muhammadafiq1593 2 года назад +1

    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 года назад +1

      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

  • @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!

  • @unitywith_misavondo
    @unitywith_misavondo 2 года назад +1

    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

  • @KlassiDev
    @KlassiDev 3 месяца назад

    does this work with multiple doors?

  • @danlaji
    @danlaji 2 года назад +1

    i didn't understand whats in description

    • @user1productions883
      @user1productions883  2 года назад +1

      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 !! ?

  • @johnchris4515
    @johnchris4515 2 года назад +1

    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

  • @pocketcheater
    @pocketcheater 2 года назад +1

    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 RUclips 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.

  • @w_ash4275
    @w_ash4275 6 месяцев назад +1

    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

  • @poluahmed2118
    @poluahmed2118 2 года назад +1

    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 года назад +1

      @@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?

  • @Sushi_Playz-q7j
    @Sushi_Playz-q7j 5 месяцев назад

    y cant my cube go down or up it can only go sideways

  • @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?

  • @NikiBulgaria
    @NikiBulgaria Год назад

    for me only the idle animation did't work i did everything as the video shows but no success :(

  • @PatrykQbiak
    @PatrykQbiak Год назад

    Doesn't work. I did everything same like you and door still closes fast after pressing E, Idle Animation I did.

  • @interclone7968
    @interclone7968 2 месяца назад

    ty so much for putting the code in google drive
    i would have to type all of that otherwise

  • @전창우-o6d
    @전창우-o6d 2 года назад +1

    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 года назад +1

      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 года назад +1

      ​@@user1productions883 You were right. Thanks for helping me

    • @user1productions883
      @user1productions883  2 года назад +1

      @@전창우-o6d awesome, no problem that was a mistake on my end

    • @thegamingzonkslive2361
      @thegamingzonkslive2361 2 года назад

      im confused on what that means

  • @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

  • @Mo-velocity
    @Mo-velocity 2 года назад +1

    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 ?

  • @doomraider0895
    @doomraider0895 5 месяцев назад

    how do I change the transition bools to open on both

  • @hsaby9801
    @hsaby9801 2 года назад +1

    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

  • @SIS_GAMER
    @SIS_GAMER 5 месяцев назад +1

    where is code
    Doors

  • @anthonyrl8299
    @anthonyrl8299 2 года назад +1

    Why isnt the door opening for I followed everything you did

    • @user1productions883
      @user1productions883  2 года назад +1

      Outdated system my friend, please check out tutorial number 27 for an advanced and better door system

    • @anthonyrl8299
      @anthonyrl8299 2 года назад

      @@user1productions883 thank u

  • @Sashkoreperkrutyihlop
    @Sashkoreperkrutyihlop 2 года назад +1

    uhhh my door won`t stay opened. what i can do?

    • @user1productions883
      @user1productions883  2 года назад +1

      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

  • @cookiebot.
    @cookiebot. 2 года назад +1

    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 года назад +1

      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 года назад +1

      @@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

  • @xezienstudios
    @xezienstudios 2 года назад +1

    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 года назад +1

      @@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

  • @exsharpcheddar105
    @exsharpcheddar105 Год назад

    Well can you do a update video of this so i can copy n paste the door somewhere else

  • @p1ck0
    @p1ck0 2 года назад +1

    I have error parameter 'Open' does not exist and parameter 'Closed' does not exist. Can anyone help?

    • @user1productions883
      @user1productions883  2 года назад +1

      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

  • @darkstar3558
    @darkstar3558 2 года назад +1

    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 года назад +1

      This tutorial is out of date, please check the channel for advanced doors, tutorial number 27

  • @SpookyAlexplays
    @SpookyAlexplays 3 года назад +1

    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 года назад +1

      @@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... 😭😭😭

  • @Sushi_Playz-q7j
    @Sushi_Playz-q7j 5 месяцев назад

    Did he make a vid on how to upload the horror monsters

  • @soltan4566
    @soltan4566 Год назад

    Hi bro, thank you for the tutorial
    Can you give me the complete source link so I can download it?

  • @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

  • @DJElliotS
    @DJElliotS Год назад +1

    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

  • @thegamingzonkslive2361
    @thegamingzonkslive2361 2 года назад +1

    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 года назад +1

      @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

  • @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!

  • @MK40422
    @MK40422 Год назад

    Not working can you help me please

  • @rdexW
    @rdexW Год назад

    I did everything but the door won't open

  • @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

  • @OniShrek
    @OniShrek 2 года назад +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

  • @wicksley
    @wicksley 2 года назад

    Great video Thank you :D

  • @ramelsteel3782
    @ramelsteel3782 2 года назад

    i can not add door to the door animator what can i do for this

    • @ramelsteel3782
      @ramelsteel3782 2 года назад +1

      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

  • @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.

  • @lazikbro12
    @lazikbro12 2 года назад

    door never opens only plays sound and shows text

  • @charm558
    @charm558 Год назад

    nice work

  • @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

  • @GUNT234
    @GUNT234 2 года назад

    why my doors cant close

  • @OmeedNOuhadi
    @OmeedNOuhadi Год назад

    👏👏👏👏👏👏👏

  • @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

  • @GodpostalRemik
    @GodpostalRemik 2 года назад +1

    I need hiding spot bro

  • @Kharabish
    @Kharabish 7 месяцев назад

    thank u ♥