Тёмный

How to Toggle ANYTHING (almost) in Udon! - Udon101 - VRChat SDK3.0 

PlayerBush001
Подписаться 3,4 тыс.
Просмотров 3,3 тыс.
50% 1

Here is part 2 of my udon 101 tutorials! Part1: • Change When An Event P...
Here's a tutorial covering the fundamentals of udon, and explaining how to make and design your own basic scripts.
In this tutorial, I share how to know what nodes you need to use in your udon scripts, and how you can find their exact name. I also show how to think about creating simple toggles, and how you can make your own custom toggles for just about anything.
So hopefully this is helpful. As always, if you have any questions, feel free to ask in the comments bellow! ^^
Come join the discord! / discord
Wanna help support me in making more vrchat stuff? Support me on patreon! (I'm grateful for any support ^^') / playerbush001
#VRChat #Udon #SDK3

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

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@UnknownSquid
@UnknownSquid 4 месяца назад
I just followed another tutorial on how to setup a toggle, and whilst the tutorial was well made and functional, I came out of it not really having a clue what I'd just done. So I'm incredibly glad to see this one. It just explained everything I did, and is the first UDON video I've seen that makes me feel significantly less lost, rather than more lost. I actually feel like I might have a chance of following a logical process of my own design now, without needing to google examples I can "paint by numbers" from. It's always been a key part of learning for me. Unless I understand how and why I'm doing something, absolutely nothing will stick. So thank you for that.
@PlayerBush001
@PlayerBush001 4 месяца назад
Glad to hear that it helped ^^ It's unfortunate that the video hasn't done as well as I hoped; as I feel like explaining why stuff is written as it is is more helpful than just showing how to do something. That being said, those videos have their place. Hanging out in help threads, I've often seen other people's scripts and found functions and methods that I never thought of, and adapted those into my new scripts. That's what I've hoped my videos can do for others, and it's also why I explain each script once I've finished making it. I always love hearing people take parts of one script, and mix it with another to get something new, or just modifying a part of it, as that is where a bunch of learning happens. However, I didnt see that happen much, as I believe people found it too daunting or confusing, and thus they just sticked to what was shown. This video is me trying to bridge that very early step, where people don't really know anything, so it's harder for them to take that new knowledge and do something with it. Glad it has done that for you (though perhaps the video it's a bit long for some others) I would recommend my video on events that I released just before this one, if you haven't already. Covers basically all the events that you'll use when making your own scripts ^^
@UnknownSquid
@UnknownSquid 4 месяца назад
@@PlayerBush001 That's unfortunate, since I bet it'd help a lot of people out. But yeah, I'll definitely be checking out some more of your videos. I've been out of world creation for far too long, and have a lot to learn.
@ShockTheMask
@ShockTheMask Месяц назад
This answered a long standing question for me: How the heck do people know what nodes to look for? Thanks for the explanation of how nodes are determined!
@SweetVioletsMama
@SweetVioletsMama 11 месяцев назад
Just discovered your channel and so far it's the best I've found for VRChat tutorials. This video in particular is so incredibly helpful for someone like myself who is new to making worlds in VRChat. I also really appreciate your upbeat personality, and your concise explanations. Please keep making videos!
@zarcxd
@zarcxd 9 месяцев назад
You've helped me more than any teacher I ever had 😊 Thank You!
@PlayerBush001
@PlayerBush001 9 месяцев назад
Your welcome ^^
@TheDoctorTTV
@TheDoctorTTV Год назад
I wish there more videos like this when I started to learn world development, this is so helpful. Good job with the video, I know this will help many people significantly.
@PlayerBush001
@PlayerBush001 Год назад
Same, but at least they're here now The hardest part is getting started, so I'm happy to be a jumping of point for others ^^
@HumAiClub
@HumAiClub 7 месяцев назад
This was super helpful, thank you 🙏🏽 😊
@PlayerBush001
@PlayerBush001 7 месяцев назад
Glad I could help ^^
@ShaneTheBane
@ShaneTheBane Год назад
Btw, love your tutorials, theyve helped me a lot. And while i like your smaller, bite size tutorials that go over a single scenario where its lessons can maybe be applied to other scenarios, i reeeally like these last couple of tutorials that are longer form and give info that can be used more generally. Its like a "The Basics of Udon/Unity" series where it covers only one small category, but every single subcategory of that category. I would really like one of these on networking, since i think thats one of the biggest headaches for new world makers. Like the differences between continuous/manual/none syncing, what different nodes that are related to networking and how they can be used, etc. I know these things are touched on here and there, depending on the situation you have yourself in during said tutorial (like the cube color only changing for one player or the one tutorial you did in the past that i think covered a door or a toggle that needed to be synced up with late joiners), but it'd be great to have all of this info in a one stop shop video
@PlayerBush001
@PlayerBush001 Год назад
Glad your liking the udon101 series; it's been a long time coming! Networking is certainly something I want to cover in this series; though I'm debating about how to approach it. Last time I tried explaining networking it didn't do well, and barely anyone has watched those videos. Even making it a playlist didn't help ^^' (ru-vid.com/group/PLj9bdRmMxX-4XVo_25-ttr2zxP094bkoM) Certainly something I will/ want to cover, and this time I'm sure I'll make it more approachable ^^
@andywood2012
@andywood2012 Год назад
Thanks for covering the basic of using nodes, Its been the most helpful tutorial I've seen so far for us fresher scripters. Would love one on setting up and controlling animations and materials from Udon Graph.
@PlayerBush001
@PlayerBush001 Год назад
Great to hear! These last two videos have been a while in the making, but if they are help get new coders of the ground, then it's worth it ^^
@ftkirito6304
@ftkirito6304 8 месяцев назад
Id love to see more of these, id suggest talking about the differences and how they work between Local and Global, partly id just like to seem more ways to make scripts global and optimized for global
@carlaincaroline
@carlaincaroline 11 месяцев назад
Your tutorials are very helpful. They helped me a lot ^^ So clear and simple! Also i have a question, is there any possibilities to create a simple version of minigolf using only udonsharp?
@ShaneTheBane
@ShaneTheBane Год назад
13:50 For the udon graph crashing, I believe I found the issue for this and how to solve it. I noticed my graphs only crashed if I had a public variable with a gameobject set to it in the component and then I deleted the public variable before deleting its references (the gameobject that was dragged and dropped into the component in the inspector as well as the variable's node placement in the graph). My solution was to make sure to delete the references, deleting them out of the component in the inspector and then deleting the node off of the graph. Then unchecking that the variable is public, hitting compile/reload, that way to remove its option from the component, then I can safely delete the variable from the graph. Since doing this, I have no longer had a graph crash on me. If this is the same issue as yours, hopefully this helps you Edit: and if I forgot to do this step and had a crashed Udon graph, when I'd re-open the graph, itd be completely blank. But I believe, if I recall correctly, just creating a new public variable within the graph, I think I usually just did a gameobject, it'd refresh it all and bring all my work back
@PlayerBush001
@PlayerBush001 Год назад
Interesting... For me udon was crashing as soon as I dragged it into the code, so I don't know if that lines up with what you've seen. It wouldn't correct itself if I hit compile, and even restarting unity didn't fix it. Personally, since I almost always want to rename it anyways, it's often just as fast to just make it manually (also isn't a thing in u#). I only showed it here, as I figured it would make it easier for people to understand variables ^^
@AO-xk8hn
@AO-xk8hn Год назад
Thank you for making this video! Very helpful! Also, I’m curious if there will be a tutorial on “walking sound” in the future.
@PlayerBush001
@PlayerBush001 Год назад
Glad it helped ^^ Walking sounds has been something request a couple of times so I may cover it in the future. I am a little torn on how simplified it should be though
@Teriko_HD
@Teriko_HD 11 месяцев назад
Can you show how to make a pistol where to shoot or teleport
@PlayerBush001
@PlayerBush001 11 месяцев назад
Like the movement method used in some vr games, or something different? If you instead want to shoot a player, things get a bit of a pain due to the player's gameobject being protected/ not exposed in udon
@Teriko_HD
@Teriko_HD 11 месяцев назад
@@PlayerBush001 I just want to shoot at players and they will be teleported where or an effect comes from the bullet and explodes or that you can shoot an object and it disappears
@Teriko_HD
@Teriko_HD 11 месяцев назад
Or the ball falls to the ground and disappears after a while and if a player steps on it before, the player is teleported.
@Supervigy
@Supervigy 6 месяцев назад
i need one with enabling portals. it either stays one even with the boolean and unary or stays off if i try to hide the hierarchy
@WelshDrag
@WelshDrag 5 месяцев назад
Is there a way to toggle hide all players and show all players from a click of a button?
@PlayerBush001
@PlayerBush001 5 месяцев назад
Eh... kinda. If you make every player enter a station (set to mobile) when they enter your world, you can then locally set that station to be immobile, and move it far away. This will lock the player's position to the station's, so you can locally change their position. However, doing so, anything they pickup will still show in their hand, but as they are miles away, you won't see it in the same position as they see it (as they on their end, will still be in the map). A fix for that would be to make your own object sync, but I haven't covered that on my channel. Lastly, you also won't be able to add any seats or such to your world, as it may mess it up. Also also, player's temporarily leave their station when loading, and can also enter each other's station during that time, so people may not be in their station and/or may be loading for you, and thus won't disappear Alternatively, you could use the camera technique shown in my jumpscare tutorial, and update the camera's position and rotation each 'event, post late update' frame; but if they ever update the vrc camera by taking a screenshot with f12 or updating the clipping range on their camera; they will need to restart vrchat to see the disappearing effect again. Also, quest users will see it delayed by a frame, which is very much not ideal. So yea, hope that helps.
@normioffi
@normioffi 3 месяца назад
Hello i have a question, with a toggle, can we change a material??? Because i need to make a system like that when a player collide with a object
@PlayerBush001
@PlayerBush001 3 месяца назад
Sure, though it is done a little different. If you just want to change the first material on an object, you can use the node 'meshRenderer, set material' to change it (It's a bit more of a pain of it's the 2nd, 3rd, 4th, etc... For that, you would need an array). You can then use a bool variable and flip it, and then plug it into a branch node to do one node if true, and a different if false. Have a look at my video all about events (one fore this one) for more on that. I also have an example that toggles the color on the object, that I use to showcase when events play
@normioffi
@normioffi 3 месяца назад
And what if i just want to disable a keyword like emission?
@PlayerBush001
@PlayerBush001 3 месяца назад
@@normioffi You can use the node 'Material, EnableKeyword (_EMISSION)' and 'Material, DisableKeyword (_EMISSION)' to enable and disable emission. Simply use a branch node to choose if it plays the enable or disable node
@Kzimagamer
@Kzimagamer 11 месяцев назад
Can I switch lightmaps this way?
@PlayerBush001
@PlayerBush001 11 месяцев назад
Possibly. I haven't played around with changing light maps, or seen anyone doing so. Not going to say you can't but if so, I wouldn't know
Далее
Create an Automatic Door - Udon / VRChat SDK3.0
17:00
How to Optimize your VRChat World INSTANTLY
6:34
Просмотров 12 тыс.
ДОМИК ДЛЯ БЕРЕМЕННОЙ БЕЛКИ#cat
00:45
ULTIMATE JUMPSCARE tutorial!!! - Udon / VRChat SDK3.0
13:27
Astro Bot
13:16
Просмотров 1,4 млн
How to Teleport a Player - Udon / VRChat SDK3.0
4:02
Simple Clickable Door - Udon / VRChat Scripting SDK3.0
13:16
I Built The First LAMINAR FLOW ROCKET ENGINE
15:51
Просмотров 1,6 млн
Synced Toggle 2022 | VRChat Udon Tutorial
12:28
Просмотров 7 тыс.
Animated Doors (Global & Local) Udon Tutorial (ENG)
12:57
How To Make A Particle Gun - VRChat Udon 2023
16:34
Просмотров 3,4 тыс.
ДОМИК ДЛЯ БЕРЕМЕННОЙ БЕЛКИ#cat
00:45