Комментарии:
Thanks, you really help me a lot. Btw, how many videos are going to be in this series?
Ответитьnice video
:)
Great vídeo! I'm working on my first 3D project in Unity right now, just getting to know to engine, and this video helped me understand the "is trigger" option.
I know this is a little off topic, but, I see that you are using a Blue Yeti to record your voice, and the sound quality is so good. I have one too, and I wonder, do you apply any filters or things like that in the post production?
Hey what’s the difference when making a game in mmo and a regular game I been trying to make an mmo game but I don’t know how to start…please help..!!
ОтветитьHi, will there be any video about the interface in unity?
ОтветитьYou look different like almost two different people
Ответитьat some point can we watch how you would make a small game
ОтветитьSir make more videos on unity
I love the way you explain ❤️❤️🤞🤞
Sir make video on animation,animator,UI and explain its components.
I get bored when read unity documentation .
Hi Dani could you please explain how to determine contact points while using OnTriggerEnter2D with GetContact?
To check if the player collides with the enemy from above and kills the enemy or collides with the enemy from the sides and takes damage instead.
That would be super helpful! You are a great teacher!
how do I use another game objects trigger for the script. because i want to be able to delete the trigger afterword but i have extra parts to the script so i need to make it split.
ОтветитьBall!
Ответитьman your a genius i have been looking tutorials for collision detection for so long and i finally found it
ОтветитьHi dani, I am having an issue regarding a trigger on an enemy. I put a collision trigger in which the sole purpose is to activate voice lines when the player enters the collision trigger area. The issue is that the collision trigger is activating all other objects such as pickup, doors, and objectives that softlock the game. I received this project from my instructor, so I have little experience with pure game design.
How can I make it so that the collision trigger only acts for the voice lines and does not trigger anything else? Thank you, and I wish you all the best!
Elon musk??
ОтветитьMy friend, you helped me get my first job with JavaScript and now 5 years later I'm here again to learn another tool, thank you I love your content.
From: 🇧🇷🇧🇷🇧🇷
Oh gods, if I knew how to put a lot of likes under this video - I would do it.
A detailed description with several solutions, and explanations for them - this is what I really lacked. It was really helpful.
bro dont say my ball 😆
ОтветитьThank you, you made me solve my error that I spent hours on trying to fix
Ответитьhow do i check which side of an object i am touching?
ОтветитьBrilliant tutorial. Thanks a lot. Saved my graduation project.
Ответитьdoes the colision datatype have to be in the Ontrigger enter function or i can use it outside of it only to check if there is a colision
ОтветитьThat's awesome. Maybe you can help me. I cant fix the problem my Player goes through walls.. Can you make A basics Video about Player movement + walls?
ОтветитьHello, I have a problem, in the OnTriggerStay method, does it allow you to use switch(Collider.gameObject), and different cases?, to act depending on which trigger is pressed.
Thank you
Nope. Wrong. You can't enter a collider if you don't set is Trigger to true. And if you do that, you will go through the ball instead of hitting it.
Ответитьthe trigger wasn't working at all
ОтветитьYou are great explaining.
ОтветитьSo this is how I can talk to girls! kidding of course! But this is very interesting stuff! I was looking for a method to have a continuous Collision or Trigger event that I could control how often it happened within 1 second. Using OnCollisionStay is entirely to much, and there's no way to control it. How would you get a happy middle ground between OnTriggerEnter and OnTriggerStay?
ОтветитьThese tuturials by Dani Krossing are by far the best ones for beginners on Unity that i have found. They are recent and up to date and while Brackey and others might have been god at one time, they are outdated using a much older version of Unity and too much have changed. I Hope Dani will try and keep this series up to date when unity decide to make changes.
ОтветитьHi Dani - Great tutorial. I have an issue where trigger collider covers up a game object that I want to click on. Is there a way where my gameObject would always have a priority of getting a click event? I tried to put it on different levels but doesn't work. I ended up with hacky solution where if object enters trigger, I make it smaller and on exit, I reset trigger to original size. Any suggestions would be appreciated.
ОтветитьThank you for this magnificent tutorial Blonde Musk!
ОтветитьHow can I make the bullet pass through objects? My bullet is spawning inside my player, detecting the player, then disappearing.
Ответитьbro, you can explain so good, that my grandmother that can't speak english would understand. Thx man you are the only one, that explains good, doesn't waste time, explains simple and is smart!
ОтветитьThis is where things get really exciting!
I remember using the map editors for games like Heroes 2 and Warcraft 3, and og Starcraft when I was a kid, and little did I know at that time that using triggered events was the same basic premise as coders were using for all games
You look like Elon Musk... Nice tutorials btw :)
ОтветитьI love your explanation. IT is clear and you make it seem so simple. Thanks.
Ответитьfor some reason whenever I type OnTrigger it doesnt autocomplete and if I type it out myself it doesnt work.
ОтветитьAwesome!
I'm learning to code c# thanks to you!
Keep it coming!
I have an unusual issue. I have both a collider set as a trigger and a collider that is not set as trigger on my object. In a script I use OnTriggerEnter to only detect when the collider with the trigger interacts with something. However, OnTriggerEnter is being called twice even though I only have one trigger. Even when i literally disable the collider that is set as trigger the one not set as trigger somehow still calls OnTriggerEnter. I am so confused.
Ответить