i was wondering if play on awake means it starts as soon as someone joins the world? instead of having to click the button i want them to hear it automatically for background music.
@PlayerBush001Күн бұрын
It means that it'll play when that component gets enabled (usually because the object it is on was enabled). This means that if the object is active when the game begins, it will start playing when the game begins / world loads. If you disable and re-enable the object, it will restart the music from the start Hope that helps ^^
@DJKATShadowscy2 күн бұрын
-How do you connect it to something like proTV3, I can get it to play the audio but not change the render texture for the screen?- I figured it out just have it autoplay something first I'm not the most knowledgeable at unity but I'm trying to make my own karaoke type of song selector, and if you have any prefabs that work as a text url selector like a playlist kinda how it's made in Karaoke Central that would be great!
@PlayerBush0012 күн бұрын
@@DJKATShadowscy can't say that I do sorry. If you are using a prefab like proTV, then you will need to modify their code and link it in, because they heavily modify what the video player is doing. Unfortunately, that is a little more involved and specific to be made into a KZbin video, but I wish you luck!
@DJKATShadowscy2 күн бұрын
@ Thank you anyways! I’ll more than likely just keep it a simple button select then since karaoke would just be a small part of my world
@PlayerBush0012 күн бұрын
@DJKATShadowscy yea, sometimes it's best to just keep it simple ^^ it would be kind of jank, but if you really want to use proTV, you could just have a bunch of ui buttons (with name and thumbnails) that show a url when clicked that people can then copy and paste. I shared a video on how to share a url on my second channel (link on channel) for pateron links and the likes, if you're interested
@DJKATShadowscy2 күн бұрын
Ooh that sounds neat! I’ll def check it out
@AztecAngelo2 күн бұрын
FINALLY some actual documentation on Easy Quest Switch. I've wanted to use this but never did because of that. Always happy to see another video drop from ya
@durpepsi4 күн бұрын
Weirdly enough the doors are still local even after all the networking changes, am i missing something? I'm using the same script for multiple doors (with manual sync) so idk if that's the issue or not
@PlayerBush0014 күн бұрын
@@durpepsi make sure you have checkmarked the 'synced' button on the bool. You may also need to hit the 'compile' button at the top right
@durpepsi4 күн бұрын
@@PlayerBush001 I don't know what i changed but it randomly works now lol thanks anyway!
@PlayerBush0014 күн бұрын
@@durpepsi probably was that it hadn't compiled then. Udon auto compiles when you add or remove any node/variable, or if you connect any node to another node. However, it doesn't auto-compile if you change a setting on a variable in your case, you probably set it to synced last, which wouldn't be saved until you pressed the compile button; or added/removed/ rejoined a node trying to bug fix it ^^
@durpepsi3 күн бұрын
@@PlayerBush001 Yeah most likely that tbh, Been from the sdk2 era of making maps and now that I'm getting back to it, its really a doozy!
@origamitobiichi89256 күн бұрын
thank you
@PlayerBush0016 күн бұрын
@@origamitobiichi8925 your welcome ^^
@saphi27166 күн бұрын
I usually don't use 3rd party tools. I stick to the default shaders most of the time. I only switch texture sizes using unitys import settings. Also do I have to recalculate the lighting every time, because on PC i use a 10x higher lighmap resulition then on android.
@Nexxus1086 күн бұрын
Another awesome tutorial. Thank you :)
@user-oo4bo4de1r6 күн бұрын
Do you want to make a video focused on explaining the persistence system?
@PlayerBush0016 күн бұрын
@@user-oo4bo4de1r I actually already recorded one, but it had to be scrapped due to technical issues. It is planned though ^^
@ulysses_theone6 күн бұрын
Thanks for not wasting my time bro, subscribed :3
@PlayerBush0016 күн бұрын
@@ulysses_theone thanks for the sub! ^^
@MassNiji6 күн бұрын
THANK YOU 😘
@PlayerBush0016 күн бұрын
@@MassNiji you're welcome ^^
@Chief-CO6 күн бұрын
This channel is a national treasure
@shopowvr6 күн бұрын
Babe wake up, bush released a new video!! 🐈📦
@Fearless134686 күн бұрын
I usually just have all of my Quest/PC/Mixed stuff under different parents. Now I can have my stuff organized by world features instead of by platform. This will make my organization much better.
@PlayerBush0016 күн бұрын
@@Fearless13468 not a bad method tbh; but yea, this will be much cleaner ^^
@atlas07376 күн бұрын
🔥
@TrustedSounds8 күн бұрын
Getting a comment/question on this video 1 year later must seem odd but, I did everything and when i move the sliders my player cant move anymore, if you can help I would be forever thankful Edit: Never mind I figured it out but thank you for the Video it was amazing Note: If anyone has this issue as well make sure to check the "eventName" in your {SendCustomEventDelayedFrames} make sure it has the correct "CustomEvent"
@dragonscalesvr8 күн бұрын
So i went the extreme route and have this massive system set up now. Everything is flawless, except the local player name is not working in any way shape or form...makes no sense....
@dragonscalesvr8 күн бұрын
my debug nodes will block out the sun
@PlayerBush0018 күн бұрын
@ sounds like you are doing all the right things to find the problem. I wish you luck 👍 I do have a discord linked in the about section on my channel, and in the descriptions of my latest videos. If you're still struggling, feel free to ask in the #udon help channels ^^
@Chief-CO9 күн бұрын
These have been a great help. I'm starting to actually learn Udon for myself and I think I've got a challenge for you. Teleporting an object on interaction (Either by player enter, trigger enter, or interaction) to a location in an array.
@PlayerBush0019 күн бұрын
@Chief-CO glad to hear they've been helpful ^^ As for your question, it would be: 'event, onPlayerTriggerEnter/ onTriggerEnter/ interact' --> 'transform, setPositionAndRotation( targetObjectToMove, TransformArrayVariable, get(random, range(0, TransformArrayVariable, get length) ) ->' transform, get position/ get rotation ) For more reference, have a look at my video on 'how to change when an event plays' to learn about events (interact, On player trigger enter, on trigger enter) (on trigger enter example can be found on any of the jumpscare vids, and on trigger enter can be found on key door tutorial). As for getting a random value from an array, there is a video called something similar to that too that shows that. As for teleporting an object to a new location, that is done with a transform, set position and rotation, and an example of that can be found on my player follower video (that one was done every frame to match up with the player. Yours would just happen once) Hope that helps ^^
@Chief-CO8 күн бұрын
@@PlayerBush001 Wow, thank you for the quick reply. I'll give that a shot later today, but your other videos have been a great help! (Especially the audio array randomizer)
@MalikartSchlagerLabs9 күн бұрын
How do i set up an trigger area in which i can determine a specific audio file to play once, or in a loop, or again after some cooldown time when the player enters this area? I would appreciate a tutorial about this, if you find the time :)
@SytherX7379 күн бұрын
How do I make it where other people can hear the sound
@PlayerBush0019 күн бұрын
@SytherX737 see pinned comment ^^
@madog568210 күн бұрын
would there be a way to make this global to non admin accounts ( im trying to make a toggle only certain ppl can interact with ! for an event!)
@MnPLab15 күн бұрын
Sadly doesn’t work for me, made everything exactly like in video, maybe vrc sdk update
@PlayerBush00115 күн бұрын
unlikely, as this hasn't changed since the launch of udon. Can I ask 'how' it failed? Was there a highlight to click it? did it showup but did nothing? did it fail even build and give an error window popup instead?
@dragonscalesvr17 күн бұрын
It seems like much of the recent node work in udon has been better with rejoining and multiple branches, not sure if im just getting lucky but maybe they fixed some of that.
@PlayerBush00117 күн бұрын
@@dragonscalesvr it is rare, but it takes ages to bug fix when it does happen; as the bugs are almost always confusing af. Better to learn not to, than to risk wasting a bunch of time due to laziness. "Slow is smooth and smooth is quick"
@dragonscalesvr15 күн бұрын
@@PlayerBush001 absolutely, same as naming conventions. Build good habits early even if you can get away with not doing it. Later on you'll be all set for success. Folder layouts too.
@the1natalie1218 күн бұрын
is the toggle public? so when i use it, will everyone else see it?
@PlayerBush00118 күн бұрын
@@the1natalie12this video has multiple versions of the script with only some of them synced to be the same for all players. Check the video timestamps/ chapters to see the versions that are synced
@HugoAndrade-e7e18 күн бұрын
targetlocation
@yuven304322 күн бұрын
Doing gods work, you're very good at explaining stuffs efficiently and showing how its done, many thanks
@PlayerBush00122 күн бұрын
Thanks! Glad to hear they're helping ^^
@a.fernandez0023 күн бұрын
Maybe im too late but is there a way to make it instead of a player name, make it if only the admin or the host of the instance can toggle it? In my world i have an animation to acces an area but i want it to be only for the host or admin
@PlayerBush00123 күн бұрын
You could check if they are the instance owner (the person who started the instance), or the instance master (the current owner of the instance). This can be checked with a 'networking, is instance owner' / 'networking, is master' node (or if those don't exist, then 'networking, get master' --> 'playerapi, equals (networking, get localPlayer)') If you want the branch node to be true for either of the bools, then you can plug both of them into a 'boolean, conditionalOr' node, that will be true if either of the input bools is true Hope that helps ^^
@EmmaOwens-u1k24 күн бұрын
i did everything you said but it wont let me play it says i have to fix the compile errors but idk how to do that
@howlertheproto408426 күн бұрын
what should i do if the lighting does not change whenever im play mode? the weight is moving on the volume but there is no visual change.
@PlayerBush00126 күн бұрын
I believe that is likely due to you either not also having a post processing thing (layer?) component setup on your main camera; or you haven't got the main camera referenced in the vrcworld (is by default when you make a world with VCC). You may also need to change the layer your post processing object is on to match the layer you selected on the camera Hope that helps (been a while since I last set this up in a world 😅)
@howlertheproto408426 күн бұрын
@PlayerBush001 i appreciate the comment, your awesome dude. There was another comment that helped me who said i needed to set my reference camera in my vrc world to my main camera.
@WeeebyVR26 күн бұрын
this video ROCKS! quick question, i wanted to add a sound to play when the door opens, like a sliding door effect, how would add this? thank you so much!
@PlayerBush00126 күн бұрын
Glad you liked it ^^ There are two ways of doing that. To do it via code, you would want to see if the bool has changed, by checking the new value with the current value found on the animation (animator, get bool(bool name)). This would be done on the 'isOpen changed' node. However, you would need to also check if the reset hasn't been played, so it would be a little annoying. To actually play the sound, have a look at my video on 'how to play a sound in udon' (I think it's the second video I ever made). The easier way to do it however, would be to have an audioSource on the object with the animator; and have 'play on awake' set to true; Then, as part of the animation, enable it on the second frame, and disable it on the second to last frame. That way, it will only play when the animation is halfway Hope that helps ^^
@Messi-rw9ng27 күн бұрын
Maybe a tutorial on switching audio? For example rain is common in vrchat worlds but not a lot incorporate a system where if I'm outside I should hear outside rain sounds and when I walk inside a building, I should hear interior rain sounds.
@Messi-rw9ng22 күн бұрын
nvm i figured it out using your automatic door tutorial/simple door tutorial kinda incorporating parts of the logic with audio instead of doors
@PlayerBush00122 күн бұрын
@Messi-rw9ng nice! 👍
@arkumbral2146Ай бұрын
all of this for a door
@PlayerBush001Ай бұрын
Welcome to coding for games; though normally it would be made a lot faster due to me not having to explain all of it, or just reusing code from a different project
@squarebozoАй бұрын
how to udon behavior i don't have udon behavior how to get udon behavior
@Messi-rw9ng20 күн бұрын
make sure you're using the vrchat creator companion and make your unity projects through that so you get the vrcsdk which contains udon
@MrPalps1Ай бұрын
Could you perhaps make a tutorial on how to prevent players from clipping through walls? Like something that pushes the player away from a wall when you try to clip your head through it, or fades their screen to black when they try.
@Damingo_exeАй бұрын
i was wondering is it possible to have both like toggle and trigger for a door at theres different interact like one at the door and one away from the door if so could that be a possible video?
@Rush-InRouletteАй бұрын
I love your tutorial videos! I'm just stuck trying to figure something out. Would it be possible to teleport, or spawn objects at a random selection of teleport points from an object pool?
@PlayerBush001Ай бұрын
@@Rush-InRoulette thanks! Glad you like them ^^ You can randomize the location by changing the transform used. If you replace the transform variable with a transform[ ], you can then randomly get one of the points in the array, and use that instead. I can't quite remember what I named it, but I have a video on getting a random object from an array, that'll show you just that ^^ Hope that helps ^^
@Rush-InRouletteАй бұрын
@@PlayerBush001 Thanks for your reply! And on Christmas, no less. Happy Holidays, hope you're having a good one!
@PlayerBush001Ай бұрын
@Rush-InRoulette im from nz, so it's the day after for me 😅 ☀️🎄Meri Kirihimete! ⛄❄️
@a.fernandez00Ай бұрын
you are honestly amazing, im creating my first world and your videos are GOLD pure GOLD i swear. I might not understand every step of the process but you make it so manageable and easy to follow, you truly deserve more likes. Have an amazing christmas homie
@mrwhitesergiusАй бұрын
thanks for help
@LuciPlaysGamesАй бұрын
Can you explain how to do death animations? Have you seen the game SlashCo in vrc? (If not please go look at my first short I ever posted to see what I mean) There’s an animation for death where the enemy ai pulled the skeleton out of the player it kills and then the player despawns. Any tutorials for that?
@seeergio82Ай бұрын
When I enter vrchat it looks black
@lynrayyАй бұрын
Проще код написать чем вот эти ноды туда-сюда тыкать друг в друга...
@PlayerBush001Ай бұрын
If you know how to script with c#, then it's better to use udon# than udok graph. That being said, graph is more approachable, more visually interesting, and doesn't have hundreds of KZbin videos and Ai text dumps to help you. Personally, I use udon# got all my projects, but focus on graph for my KZbin ^^
@vhsdf4179Ай бұрын
I followed it but it goes up then resets to the bottom why is this happening?
@pandarojo327Ай бұрын
im going crazy trying to change the material of an game object instead of the skybox. could you help me with that?
@PlayerBush001Ай бұрын
I should honestly make a main channel video on this... I do explain this on my second channel, where I upload less edited videos with the intention of just getting the information out there: kzbin.info/www/bejne/lWPPdKakis52bLs
@pandarojo327Ай бұрын
@@PlayerBush001 thank you a lot. gonna watch it RN
@dragonscalesvrАй бұрын
wish i saw this 18 hours ago >.<
@dragonscalesvrАй бұрын
half the battle, now to toggle them on when you get to them in order to cycle toggles
@Nellbell399Ай бұрын
what about the new version
@lynrayyАй бұрын
0:52 - My UI is different and there is no variables
@PlayerBush001Ай бұрын
@@lynrayy vrchat did update the ui about a year ago. The variables are still in the top left though. Feel free to look at one of my later videos, to see where the variables tab is (basically every script uses them)
@lynrayyАй бұрын
@@PlayerBush001 Yeah, found it some time later. Thanks anyway!
@SoraVKreac2 ай бұрын
Hello, and what would it be like to have 2 cameras and a button to activate or deactivate them?
@Skibiti_deleon2 ай бұрын
Bro I hate these people who do this once I was playing a game and then something popped up on my screen looked so cursed my heart fell
@ruan74422 ай бұрын
good video, i was having trouble because of the LOD method, but with that i can use the colider to say exactly when will active, not just by proxmity
@PlayerBush0012 ай бұрын
@@ruan7442 lod distance changes with fov too, so for anything you want to be consistent, this works better. The lod method is however simpler for non-presice distance toggles
@KingKrakenOfficial2 ай бұрын
I have been trying to figure out an answer to a question and maybe someone here has an answer, The question is, is there a way to make players voice echo in a world as if they were in a cave and is there a way to set it to where it only happens in one area of the world and everywhere else in the world is just regular voice chat with no echo.