Тёмный

Unity Gizmos - Every gamedev should know this! 

Подписаться
Просмотров 33 тыс.
% 1 458

Learn what a gizmo is and how to use them effectively.
Gizmos are a fantastic help to you in development. Setup indicators for raycasts, map confines, grid positions, etc. It's among the first thing I do when creating a new scene.
❤️ Become a Tarobro on Patreon: www.patreon.com/tarodev
=========
🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: discord.gg/tarodev
✅ MORE TUTORIALS: ru-vid.com

Опубликовано:

 

20 ноя 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@BravosChannel
@BravosChannel 2 года назад
Your programming is absolutely clean and the grid trick (like what the other comment said) is amazing. I didn't even know stuff like random point inside unit sphere, this is mind blowing lol
@Tarodev
@Tarodev 2 года назад
Learned so many things! That's what I like to hear 😊
@eXca1iburN
@eXca1iburN 2 года назад
I really appreciate that you tackle more advanced stuff than other unity channels, and still manage to explain things quickly and clearly This content is what helps take people from tutorial based projects (no shade at anyone still at that level, we all have to start somewhere) to really understanding the environment, to get the best out of it, and put it back into their projects Thank you =)
@allenhalsted4895
@allenhalsted4895 2 года назад
Appreciate that you cover topics that are interesting and useful even to veteran developers.
@JoschinoDev
@JoschinoDev 2 года назад
Great video, never really thought to draw a grid with wireframe cubes but that makes it so much easier.
@wittyadrian
@wittyadrian Год назад
Man, this is sooo useful! I can't believe I never used this in all my years of Unity gamedev'ing. Thanks a bunch for the tip, I was already subscribed, but if I wasn't, this would surely earn it!! Keep up the good work man
@noobcraft5712
@noobcraft5712 2 года назад
Wait the th....... Great and wise man with a hat on is teaching me
@Tarodev
@Tarodev 2 года назад
Learn from me, little one
@larryd9577
@larryd9577 2 года назад
Your bézier pronunciation was pretty good.
@Tarodev
@Tarodev 2 года назад
Was it? yes! I was totally expecting to get blasted off my chair
@mov4736
@mov4736 2 года назад
Thanks! I learned a lot :D Especially that grid trick, blew my mind!
@Lukfin
@Lukfin 2 года назад
With how many small tips and tricks you have, I am really really interested in some of your extension methods/helpful functions class if you have some!!! Thanks so much. Love these vids!
@Tarodev
@Tarodev 2 года назад
Great video idea
@hamedbabamohamadi9017
@hamedbabamohamadi9017 2 года назад
Was waiting for an intro! Nice hat btw :) Welldone.
@Chrisbrei2502
@Chrisbrei2502 2 года назад
I love your videos so much. I try to learn something new every day, no matter how little, and your videos are perfect for that, especially when I don't have much time!
@stylie473joker5
@stylie473joker5 10 месяцев назад
Your name is definitely gonna be on my game's Special thanks to Credits screen haha Thanks a bunch
@Tarodev
@Tarodev 10 месяцев назад
I'd be honoured 😊
@carny666
@carny666 2 года назад
Wow that's great, thanks!
@PatrikBergsten
@PatrikBergsten 2 года назад
Good video! Looking forward to the Handles video!
@nerdin8or
@nerdin8or 2 года назад
Excellent video! I'm really looking forward to the part 2 you mentioned, because I always knew gizmos had capability for more functionality, but I have no idea how to access it.
@umapessoa6051
@umapessoa6051 2 года назад
Thanks for the video, waiting for the handles tutorial, i'm trying to make a tool that uses it but im having a hard time.
@ChaineDeQualite
@ChaineDeQualite 2 года назад
Not related to Gizmos but to isGrounded : I recently find that another more precise way to get if the player is grounded is to check to collision with OnCollisionEnter and OnCollisionExit and get normal of the collision. This is more precise and work for other type of collision detection (like a wall run or something like that) but I've nerver seen anyone using it. What are your thought on that ? (Sorry for my bad English)
@Tarodev
@Tarodev 2 года назад
Yeah to be honest I use both methods. But raycasts are good as you can add additional length to the checks.
@alaslipknot
@alaslipknot 2 года назад
My man has switched to Rider \m/ To anyone still not using it, if you can afford the license, DO NOT HESITATE to give it a try, it will change your coding-life
@pkplonker
@pkplonker 2 года назад
It's also free for students :)
@MrZer0mega
@MrZer0mega 2 года назад
Quite useful, thanks !
@labacademia_jL
@labacademia_jL 2 года назад
looking forward to the next video great content!
@ecacmovil
@ecacmovil 2 года назад
Hello, good video. To fix the perfect start and end of the bazier you have to change these 2 lines: float segmentLength = 1 / ((float)_resolution - 1); set[j] = Vector2.Lerp(_controlPoints[i].position, _controlPoints[i + 1].position, segmentLength * (j));
@mattlepage1898
@mattlepage1898 2 года назад
Love your tutorials!! (Whats the background music btw??)
@opticalreticle
@opticalreticle 2 года назад
great video
@nguyenhuuhau7733
@nguyenhuuhau7733 2 года назад
What a helpful tutorial. What did you use to hint sample code?
@kellyrodgers9326
@kellyrodgers9326 11 месяцев назад
You’re good bro. Love your tutorials. Have you considered putting a “thanks” button on your videos. I’d tap you a few bucks now and then 💰
@Tarodev
@Tarodev 11 месяцев назад
Your enjoyment is enough thanks ❤️
@ZiplawDev
@ZiplawDev 2 года назад
Be careful with setting x,y or z to 0 on non-wire cube gizmos! I've had it happen where they appear black when I needed to be of come color, I just needed to set them to .0001, instead of 0
@Tarodev
@Tarodev 2 года назад
Possibly an AA issue? To be honest I always set them to 0.1 for years, then one day I randomly tried it and it worked!
@ZiplawDev
@ZiplawDev 2 года назад
@@Tarodev might be a version specific bug in my case, but yeah I usually avoid both negatives and 0 for those
@ZiplawDev
@ZiplawDev 2 года назад
It'd be cool if you made a video about Handles now :)
@Tarodev
@Tarodev 2 года назад
I'll handle you in a minute
@_g_r_m_
@_g_r_m_ 2 года назад
I thought gizmos were only displayed on edit mode, but it seems they also work on play... Do they still show in build? I thought they were just for debugging and this kind of stuff
@roqm0z666
@roqm0z666 2 года назад
You can press the gizmos button at the top of the screen in play mode to show during gameplay, but only in editor. It doesn’t get called in a build
@ironbard4901
@ironbard4901 2 года назад
Hold up! The draw sphere functions - is the radius parameter working properly? Ó__ò Two spheres 1 unit apart, with radii of 0.5 should overlap at exactly 1 point; but there seemed to be no overlap at all, and a full unit of free space between their maximum extents? Does this not mean that the radius parameter is actually functioning as a diameter? This would perfectly explain the discrepancy. PS: These videos are great, I'm currently binging them and I can practically feel my neurons wiring.
@KerkDovan
@KerkDovan 2 года назад
There is no discrepancy. One sphere is at coordinates (0; 0; 0), the other is at (1; 1; 1). If you look at the left side of the right sphere and the right side of the left sphere, you'll notice that they are on the same line. The same for the bottom side of the top sphere and the top side of the bottom sphere. And spheres do not overlap, because distance between their centers is more than 1 unit (~1.732 for 3D, ~1.414 for 2D projection).
@inteletronx3564
@inteletronx3564 Год назад
Handy tutorial but not what I was looking for. How do I draw a gizmo sphere upon collision trigger to see where the collision is happening?
@Tarodev
@Tarodev Год назад
You can use Debug.DrawLine/Ray and have it persist for a few seconds at the collision point.
@alifarhadali5580
@alifarhadali5580 2 года назад
great
@prabitytlive5384
@prabitytlive5384 Год назад
sir gizmos tab is not showing
@SojoTaku
@SojoTaku 2 года назад
Noice
@trapdoorbeaver
@trapdoorbeaver Год назад
bold of you to assume i would have less than 10,000 gizmos in my scene smh :P
@GIZMODRAW
@GIZMODRAW 5 месяцев назад
GIZMOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
@Tarodev
@Tarodev 5 месяцев назад
THE GIZMO HIMSELF
@GIZMODRAW
@GIZMODRAW 5 месяцев назад
@@Tarodev >:3
@Sodomantis
@Sodomantis 2 года назад
All the things I want to learn about you do small videos on. Get out of my head!
@Tarodev
@Tarodev 2 года назад
I'm here for you 😊
@JW-uu9je
@JW-uu9je 2 года назад
are you kidding me?????
@MandyLeeYT
@MandyLeeYT 2 года назад
Awesome video Taro, I love the 🧢
@youcancallmedoggie
@youcancallmedoggie 2 года назад
Noice