Комментарии:
pls help, whenever i put the door as a child of parent, it moves away, why
Ответитьits not working can you help me please
Ответитьhow can i download the script ?
Ответитьhow to i make it say close door when the door is opened?
Ответитьallah loves u
ОтветитьLifeSaver Thank you soo much!!
Ответитьhow to open door with a key ,if you have a key
ОтветитьIs there any way to use that one animator for all the doors. I have been having this issue for so long
Ответитьi have a problem it still doesent work pls help
ОтветитьWat leg jij het slecht uit! Ga er eens rustig doorheen inplaats van er zo snel door heen te gaan.......
ОтветитьThis tutorial is great, homie. Want to give your short films a looksie too.
ОтветитьHey, thank you for the tutorial. Unfortunately, I am receiving this error message and don't know how to deal with it.
UnassignedReferenceException: The variable instructions of DoorController has not been assigned.
You probably need to assign the instructions variable of the DoorController script in the inspector.
DoorController.OnTriggerStay (UnityEngine.Collider other) (at Assets/DoorController.cs:17)
I tried to follow you tutorial, but mine doesn't seem to be working. Everytime I click, I get Parameter does not exist.
Ответитьthe script is not working man i’m pressing e and it does nothing
Ответитьليش عندي لازم أكبس أكثر من مره على e لحتى يستجيب
ОтветитьHm, for some reason it only work after a lot of "E" spamming. It randomly starts the animation when I spam the "E" key. The triggering Collider is big enough and it is indeed working. Just.. not all the time
ОтветитьMy Door opens right as I start the game I have an idle state already set up
ОтветитьWhen I try setting a variable to true in the code where you open the door it doesn’t do that. Any fix?
Ответитьwas too fast, hard to explain
Ответитьليش ما ينفتح الباب سويت كل شي قلته في الفيديو
ОтветитьIf anyone feels that the interaction button (E here) is a bit unresponsive, that is because physics updates are not aligning with the frame in which you are pressing the button. By default, unity updates physics every 0.02 seconds, and the frame updates every 1/30 seconds. So they might not coincide. To prevent this, reduce the physics updates to 0.005 (From edit > Project Settings > Time > Fixed Timestep). This may be performance hungry, but will reduce the unresponsiveness by a lot. BTW, great tutorial!
ОтветитьThat's a start. But it gets a little sloppy in the end.
There needs to be an idle state for the anim not to begin right away.
The instruction sign needs to be false in a private void Start() - 'disable the panel' you say, but you don't show how.
Lokeswaran S comments on that too.
When you go inside and open the door, and then go into the collider again - and the door is open! - it says Click E to open.
Arh c'mon - tutorials should make sense ALL the way. You can do better than that.
كيف بدي اغير بدال ما إضغط على حرف E بالكيبورد ويفتح الباب اريد احوله إلى button للموبايل كيف؟
ОтветитьThank you
ОтветитьThank you very much,
this is exactly the explanation I was looking for and you explained it excellently and simply.
Great video!
والله اننا نفتخر فيك ، ياخي البرمجه و الاكواد عجزت اني اطبقها وكملت نص ساعه الا يجي صداع يخليني انام اليوم كله! على العموم ماتقصر حبيبي قلبي والله🙂💘
ОтветитьThank you sir!
Ответить@Omar That UI text is being displayed right from the start of hitting the play button
I want it to display that only when I move the cube near that trigger area
How to remove it being displayed right from the start?
Help please
UNITY took everything from Blender? why do i feel so every time i came across unity tutorials
ОтветитьI have a problem :/ When I go to the trigger my character is disappears (Sry for the bad english)
ОтветитьThx your tutorial helped alot =)
Ответитьwhy so fast what is the point....
\
Yeah, way too fast and mine is not working. i know i made a mistake somewhere but idk where. Pls help
Ответитьاستمررر الله يسرلك
Ответитьthanks for this tutorial
Ответитьreally helpful! I like your fast style
Ответитьwhy do I have to press E like 5 time for it to open?
ОтветитьMy door is opening at the start of the game, but when you press e inside the box nothing happens. (I do have a collider and rigidbody) Please help.
Ответитьياخي اتحرك بطيء شويه
ОтветитьDoorControler.cs(11,35): error CS1061: 'Collider' does not contain a definition for 'GetComponentChildren' and no accessible extension method 'GetComponentChildren' accepting a first argument of type 'Collider' could be found (are you missing a using directive or an assembly reference?) can you help me?
ОтветитьMy door becomes super wide whenever I open it and when I close it it goes back to normal plz I need help!
ОтветитьI did everything correctly and the door opens but it teleporst to a different location in game for some reason?
ОтветитьI have 2 problems that I can not solve, I would be happy to help..
1. The door opens before I reach it
2. The code does not work, I get an error.
Error message: NullReferenceException: Object reference not set to an instance of an object
DoorController.OnTriggerStay (UnityEngine.Collider other) (at Assets/DoorController.cs:14)
I would be happy if you could help me.. Thank You
يكتببلي كذا
Cannot implicitly convert type `UnityEngine.Animator[]' to `UnityEngine.Animator"
Pro tips use -1 as animation speed to invers animation
......
And you can use raycast to open door
Wow...take it slowly with the scripts mate,some ppl are doing it for the first time,waz soo hard to keep up with you...not fun...
Ответитьomar please can you sent me a link to download script please
FROM EGYPT
Asselamu aleykum. Quick question: If I want my character to grab the door knob and open the door, do I need to do 2 animations? One on the door and one on the player?
ОтветитьGreat Tutorial Omar :-)
I'm experiencing an issue with the script. When I'm in game, I sometimes have to press the "E" key up to 3-5 times before it will activate my animation, and other times it works right away… I wonder what causes that problem? oh can you make a tutorial on how to add sound to the animation.. one sound for opening and another for closing the door :-) thank you for your work
Hey guys, my panel with the "press e to interact" text shows up right away when I hit play even if my player isn't near it. Then when I come close and press e it begins to act normal. How do I fix the panel showing up by default in the start?
Ответить