How to Teleport a Player - Udon / VRChat SDK3.0

  Рет қаралды 37,865

PlayerBush001

PlayerBush001

Күн бұрын

Пікірлер: 262
@TheMinecrafter9
@TheMinecrafter9 3 жыл бұрын
It is incomprehensible that these are not more popular. Probably the best and most straightforward tutorials for Udon I have seen. Phenomenal work as always!
@PlayerBush001
@PlayerBush001 3 жыл бұрын
Thanks! I'm still rather new, but the algorithm is slowly getting to trust them ^^
@noobio5510
@noobio5510 2 жыл бұрын
I Agree, the is severely underrated, very helpful in trying to learn how to make games in vrchat.
@QuickDriftVR
@QuickDriftVR 9 ай бұрын
These are amazingly useful! You are the most simplest explainer, not too complicated. You've earned a sub!
@PlayerBush001
@PlayerBush001 9 ай бұрын
Thanks! Glad you liked it ^^
@Freezorgium
@Freezorgium 2 жыл бұрын
Thank you. As someone who just started making their first VRChat world two hours ago and has 0 unity experience, this video was enough for me to copy your method but adapt it make it something that teleports the player on touch, not an interaction. Worked flawlessly. You speak a little bit fast but that's no problem, the pause button exists for a reason, you missed no steps and honestly, just the psychological aspect of seeing a tutorial that teaches everything you need to know in less than 3 minutes is a huge motivator. I'd have put this off for another 7 hours if every tutorial I found was 10 minutes.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Nice one! I made a followup video on how to do this by walking into the trigger, as many couldn't figure out how to modify the code, so well done! ^^
@pravaszakhah3239
@pravaszakhah3239 2 ай бұрын
Genuinely a lifesaver when assembling a map for my D&D group, thank you!
@a92553
@a92553 Жыл бұрын
The video is extremely fast-paced, yet so helpful at the same time.
@PlayerBush001
@PlayerBush001 Жыл бұрын
Glad you found it helpful, and sorry for the speed ^^
@jeftheattorney4197
@jeftheattorney4197 2 жыл бұрын
Everyone in these comments are praising and i wanna give my main reason why these are the best. The videos are so short, clearly planned out, and informative. Most other world creation tutorials are like 20 minutes long on this same topic. Thanks for making an actual series that gets to the point and tells you what you need to know, please dont stop!
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Thanks! That was one of the things that I really pushed for, so I'm glad your liking them ^^
@RainPie
@RainPie Жыл бұрын
Your channel has just been a blessing for me. Had no experience with udon and with your channel ive made mirrors, toggleable music and teleports. Tysm for being amazing :D
@PlayerBush001
@PlayerBush001 Жыл бұрын
Yo that's awesome! Glad I could help ^^
@RainPie
@RainPie Жыл бұрын
^^
@oswaldtime
@oswaldtime 2 жыл бұрын
This was super helpful. Thank you. You earned yourself a loyal viewer now.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Thanks! Glad I can help ^^
@Chief-CO
@Chief-CO 8 күн бұрын
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.
@PlayerBush001
@PlayerBush001 8 күн бұрын
@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-CO
@Chief-CO 7 күн бұрын
@@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)
@PIZZARATRBLX442
@PIZZARATRBLX442 6 ай бұрын
Cannot thank you enough for this short simple and sweet tutorial !
@PlayerBush001
@PlayerBush001 6 ай бұрын
@@PIZZARATRBLX442 thanks! Glad you liked it ^^
@AKRFTR
@AKRFTR 2 жыл бұрын
My words cannot compare to what anyone else has said, but you really do make great videos! They get straight to point and are really easy to follow along with. Please don't stop what you're doing, you've helped me and so many others out and we really appreciate what you're doing, so thank you!
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Glad your finding them so useful ^^
@Litfield
@Litfield 2 жыл бұрын
oh my god a tutorial that taught me something that works, bless you
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Haha, glad it helped ^^
@doubleohryo7606
@doubleohryo7606 2 жыл бұрын
Thanks for this video man. As someone who has just started in world making in Unity these have been a great help. Quick, straight to the point and easy to understand. Thank you so much.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Thanks! Glad you're finding them useful ^^
@Krxyn
@Krxyn Жыл бұрын
so this is how levi teleports in sergentaj's videos man u da best
@Unfavorite
@Unfavorite 4 ай бұрын
This was incredibly helpful. Thank you!
@PlayerBush001
@PlayerBush001 4 ай бұрын
@@Unfavorite your welcome ^^
@novanyy
@novanyy 2 жыл бұрын
Your tutorials are the absolute best! Thank you for this :)
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Thanks! Glad it helped ^^
@oddtop
@oddtop 6 ай бұрын
Fantastic! Straight to the point and everything explained beautifully. Thank you so much!
@PlayerBush001
@PlayerBush001 6 ай бұрын
@@oddtop your welcome! Glad you liked it ^^
@rodrigopower11
@rodrigopower11 3 жыл бұрын
In my POV, your tutorials should be know by more people! The way you explain is great! I was looking for this a few weeks ago haha XD. By the way, any possibility to explain how use that pens? The Qv Pen I believe, could you make a tutorial about that? Thanks anyway and good work.
@PlayerBush001
@PlayerBush001 3 жыл бұрын
Haha, thanks! Hmmm... I somehow never thought to make a tutorial covering how to add pens. Don't see why not. Should be able to cover some other small things I've wanted to cover too while I'm at it
@rodrigopower11
@rodrigopower11 3 жыл бұрын
@@PlayerBush001 That would be great, thank you so much! I'm looking forward for that video. Until then, I can't wait to see your next tutorial!
@Cattuccino_
@Cattuccino_ 3 жыл бұрын
thank you for making these Tutorials! I guess one thing id like to learn in the future is a working udon gun...
@PlayerBush001
@PlayerBush001 3 жыл бұрын
Glad you like them ^^ It's a little unfortunate that making a gun in VRChat is such a loaded question. It's also one that gets asked a lot, and definitely one that I want to make, so I'm slowly mulling over as to how to best approach it. The biggest hurdle is that, while I could easily make a tutorial covering how to shot a barrel for example, the comments section is bound to be loaded with questions from people wanting to shoot other players, leading me to have to explain how to add a gameObject to each player, set up health, respawn player, etc... So while I'll likely make a tutorial covering it at some point, I'll at least have to slightly cover those topics while I'm at it
@Cattuccino_
@Cattuccino_ 3 жыл бұрын
@@PlayerBush001 I see interesting!
@ulysses_theone
@ulysses_theone 5 күн бұрын
Thanks for not wasting my time bro, subscribed :3
@PlayerBush001
@PlayerBush001 5 күн бұрын
@@ulysses_theone thanks for the sub! ^^
@Paios
@Paios 4 ай бұрын
omg dude simply going over keyboard shortcuts is fucking huge for me. I've been trying to figure out how to paste shit right where my camera is for ages! ty
@arplenoon
@arplenoon 11 ай бұрын
Thank you! This video was very helpful for me building my new world!
@PlayerBush001
@PlayerBush001 11 ай бұрын
Glad it helped ^^
@Dat_Space
@Dat_Space Жыл бұрын
This helps a lot!
@Pawlsar
@Pawlsar 2 жыл бұрын
This really helped! Thanks so much lad!!
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Glad it helped ^^
@lorenatorresloaiza
@lorenatorresloaiza Жыл бұрын
10/10 lifesaver, thank you yayy!
@PlayerBush001
@PlayerBush001 Жыл бұрын
Glad it helped ^^
@Asashi.Official
@Asashi.Official Жыл бұрын
Thanks so much! working in 2023 :)
@gamergrim9887
@gamergrim9887 Жыл бұрын
I am extremely happy I found your videos. They are extremely helpful for anyone that is new to world creation and Udon for VRChat. I'm creating a world myself of course but I do have a question. Is there a way to make the screen fade to black before the player teleports then make the screen fade back to normal after they teleported? I would be glad to know if there is a way. If there is not a way to do it, then it's fine either way. :]
@PlayerBush001
@PlayerBush001 Жыл бұрын
Glad you are finding the videos helpful ^^ As for your question, there are two ways I know how to do so, but only one is quest compatible: The first method is to use a post-processing component; which is unfortunately not quest compatible. For this, you want to create an animation much like my darkness slider tutorial (kzbin.info/www/bejne/qF6WfWWeZd53ocU), but have it go the other way. Then, whenever you teleport the player, you can play this animation with an 'animation, set trigger' node, and the screen will fade from black. If you want to do a fade to black and then back out again; you will want to use an 'udonbehaviour, send custom event delayed seconds' node, and set it to delay the player's teleport to be after the screen has faded to black. You can learn more about delayed events in this tutorial (kzbin.info/www/bejne/ZqqwqJWiZ5qeacU). As for the second method, you will need a custom shader for this that overlays the screen. The process will be the same as the first method, however this time you will be doing it with a shader slider. The only shader I currently know that can do this is Red_Mage's 'cancer space' shader (github.com/AkaiMage/VRC-Cancerspace), and using it's overlay function. This shader is however a complete overkill for what it does, so it would be best if you could find one that has less features to be more efficient. I don't really have any videos showcasing this overlay feature, other than showing how I used it really briefly in my jumpscare video (see timestamp: kzbin.info/www/bejne/ZpSygqicf8djnJY) Hope that helps ^^
@gamergrim9887
@gamergrim9887 Жыл бұрын
​@@PlayerBush001 So I decided to choose the first method but I do have a couple of questions. 1. Do I connect the TeleportTo to SCEDS (SendCustomEventDelayedSeconds for short) or do I first connect the Interact to SCEDS then connect it to TeleportTo? 2. Do I just follow the instructions on the video about the darkness slider but remove the slider part or do I keep it in the Udon Graph? 3. In the Udon Graph of when the screen should go dark and all that, does it need to be SetFloat or should I change it?
@PlayerBush001
@PlayerBush001 Жыл бұрын
Sorry about this. I looked into it a bit more and it seems I made a mistake in the coding, but the new version is a bit of a pain to explain. Here's some example code, but I had to split it between two scripts (though one is more of a toggle). First, you need a button that will toggle on the gameObject that has the post processing/ shader on it, and that will run all the logic on the update event. This should be put on a separate object, as we want to disable it when not in use to save on unnecessarily processing. Here is the code for the button (copy and paste into udon graph): application/vnd.unity.graphview.elements AM1V3WrbMBh9laBry+j/J9CLbe1KGGyDtrkZIUj25+LNkYstdwtpn2wXfaS9wpQ07bq0F6U/UGSwJX2Wz+F85/jP76sVOnfNAGj8bYWqoWk+u0WaoKnraucbmJ+EOi4Pwmkd4DBtffHfoYgoQ0NdpjJBVSUrJnFlpMGCaYUNeIG99rI0RFtXlan4rO3rWLcBjVfoFxpjJVRuhDFUWqqtMiZDSzSWguZEECWsoOnG5GWGQlvCyWS/T/hQOujfNctQ1bQ/t3uz68rpmkq/4TKscV+jnV4TXKE69NGFAib7aEzS4X3s6nC63UboMnvKa0fLPsIiP9osZqNFX7RdU/tsNIWuT5z3RE7WIxt9GJo4dLAXYIida7LR18E3dfEJlsftDwh7XmsnC6mo5QKIsRfH0MBZ20XoEqLnwXvftg248ML4uvSJtwfro2v6Z+J6DTVDGxKq2RrXHaMdnEOI80lIIrs7xvIVOOGJw9RVHgvDJfZSWqyqsnKeSFdo+YCxOMmTfbjkhGkuuJYbY+FkN0KTVwmV92z1v5FQIRPkZF6sPC+x4IXFtuAaC21cBdJ6qTjatdsuqUOI85sEuaWkoaJMEsBMAcXCc4OdKAtMuCaFhdJa5h6gRLnJCWOaSKJNOmDDaEvIEqW5YWnZ7GbFy+fDK7bGo2L0aQ19v+MeTPR8Pj+C+K6I9Tmkxw3VrTlvptO2Lm/FfFSb3BNzq6USggiWcl+rjZqM5ppxYriwitjUtTtiPqZzLshb/Cu8YuzO0vgL
@PlayerBush001
@PlayerBush001 Жыл бұрын
And here is the code that is on the separate empty gameObject, that the button will toggle on. This is where I would have my post processing and animator components on: application/vnd.unity.graphview.elements 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
@luisdelacruz6128
@luisdelacruz6128 2 жыл бұрын
Best tutorial ever you should make a tutorial on the wand you showed 😂
@PlayerBush001
@PlayerBush001 2 жыл бұрын
haha! might do ^^
@idarkstarx6939
@idarkstarx6939 2 ай бұрын
Is there a way to maintain the Y offset? So the player's feet remain at the same distance from the ground? I'm trying to have something pickup and hold the player, but i want to avoid them getting moved up compared to how they are grabbed.
@PlayerBush001
@PlayerBush001 2 ай бұрын
To teleport someone without moving their y axis, you will need to plug your tele position into a 'vector3, get x/ get z nodes'; and plug them into the x and z of a 'vector3, construct' node. Then give it the players y, and then teleport the player to that new constructed vector3 position. However, to me it sounds like you either want to continuously move the player, or offset the teleport by the distance the button and the teleport pos is. For the offset, add another empty game object that will be the reference point (on the ground roughly where they will click the button). This will be your 'start' point. Then in the script, add the start point as a public transform variable. Then subtract the start location from the end position, then add the player's current position, and teleport the player to the final vector3. As for constantly moving the player, you will first want to hit the dropdown on the 'playerApi, teleport to' node, and select the bool option, and make it keep smoothing (or whatever it is called). This will stop the player 'teleporting' on other players screens, and will instead keep their movement smooth. Then, you will need a private vector3 variable called something like 'offset'. Then, when the player gets called, get the difference of position from the teleport position and the player (player pos - tele pos), and multiply it by 'quaternion, inverse (transform, position)', and set our offset vector3 to be that. Then, each time you update the players position, it would be 'offset * transform, rotation + tele position'. However, you will also need to do this with the rotation as well, which will be done similarly to the vector3 offset, but with a quaternion offset. That one is a little less intuitive (though basically the same), so I recommend getting the position offset working first, and then basing the rotation off of that. Good luck! And I hope this helps ^^
@idarkstarx6939
@idarkstarx6939 2 ай бұрын
@ The distance the player’s feet are from the teleport point would only need to be calculated once, presumably? That number can then be subtracted from where the teleport point is to get an offset. (The subtraction node is top minus bottom, right?) This offset can then be subtracted each frame’s teleport from the Y, so the player’s feet remain at the same distance. I did try to do this but I think I’ve done it wrong because the player just falls like they’re not having their Y changed. I’m still very new to all this lol
@PlayerBush001
@PlayerBush001 2 ай бұрын
@idarkstarx6939 if your doing the held version, then you will only want to calculate the player's offset once. Then, get it to activate a bool. Then on 'event, fixed update', check if that bool is true, and if it is teleport them for that frame. If you need more help, feel free to join the discord and post your code there (dunno if it's link in this video, but it is in the about page & newer videos) ^^
@gimmick5101
@gimmick5101 2 ай бұрын
how do you make it so there facing a different direction? I'm having a issue where they go though a door and they teleport looking at the door instead of away
@PlayerBush001
@PlayerBush001 2 ай бұрын
Rotate the target empty object ^^
@gimmick5101
@gimmick5101 2 ай бұрын
@@PlayerBush001 tyyyy
@galvanicuser9601
@galvanicuser9601 2 жыл бұрын
It's probably stupid to ask but what button did you press to open the search bar to get the transform/get position node?😅 At 1:30 Nevermind I just started pressing random buttons and I found it
@PlayerBush001
@PlayerBush001 2 жыл бұрын
There are two shortcuts for searching. 'Spacebar' does a quick search, which categorizes everything making it faster and avoids duplicate node names. The other is 'tab', which does a full search and is really useful to find nodes when you don't know what category they fall under; at the cost of it being slow and showing many duplicate nodes of the same name. I recommend only using quick search for normal coding ^^
@Maxime66410
@Maxime66410 Жыл бұрын
How to teleport all player ? I have DataDictionary with bool, if player have true, i can teleport with button master.
@PlayerBush001
@PlayerBush001 Жыл бұрын
You are unable to teleport anyone but the local player. So, to teleport all players, what you want to do is simply make the teleport part a custom event, and then 'on interact' --> "is instance owner" --> "udonBehaviour, send custom networked event (all)". However, from your question, you only want to teleport some select players. This is actually annoyingly hard to do, due to the way vrchat's networking is setup. First you need to say what players you want to teleport; and while playerApi's are unsyncable, you can use a 'playerapi, get playerID' to get an int ID for that player, and then revert it back with a playerapi, get playerByID'. Now, normally with code, you would send this information alongside the networked event, but event's in udon can't send information with them. Therefore, we need to send this information via synced ints/ int[ ], so that the other players will see it. Then, once the others see that information, they know who, and so when they see the network event to teleport all, they will teleport the correct players. HOWEVER, it is not guaranteed that the synced value will arrive before the networked event, so this all gets tricky. One other method would be to generate a list of all players in the lobby, and order them based on playerIDs. Then, create 72 events (or whatever you lobby max is) and give the a name from 0 -71. With this, you can now check your list, with the player names list, and send the correct event for the right player. However, this method is not full-proof, as it completely falls apart if someone is blocked; as they won't be on the list, and the list order and placements will be wrong. So yea, i haven't really got a good answer for you. Perhaps the best one would be to use something like cyan laser's player object pool (cyanlaser.github.io/CyanPlayerObjectPool/)) to give an object to each player, and then you can just tell it's owner to teleport. Hope that helps ^^'
@necatron73
@necatron73 Жыл бұрын
I've made a breakable wall..... thing using combos of pick ups with colliders and triggers, if the object (lets say its a crowbar) collides with wood panels or planks the objects will turn off thier kinematics and drop using gravity (i think I did it with the animations panel) Testing it works fine, heck the crowbar when it drops makes a clang sound, same with the panels and planks making woody dropped sounds Panels and planks use game object collider names so only that object will trigger the result Maybe you could take a look at it and try to make it better and more efficient.
@PlayerBush001
@PlayerBush001 Жыл бұрын
Everything other than the collider names sounds exactly how I would likely do it. Of the top of my head, alternatives to using names would be to consider using either gameObject tags (must be generated runtime) or create a custom layer for them; so they only interact with the player/s and the crowbar. Also consider putting the rigidbodies to sleep after a couple of seconds, to keep preformance nice (rigidbody, sleep). However, if they are working well enough and the preformance is fine, I would just stick to what you have. It sounds relatively well made already ^^
@akiraakiraakiraakira
@akiraakiraakiraakira Жыл бұрын
best tutorial
@PlayerBush001
@PlayerBush001 Жыл бұрын
thanks ^^
@cozyvrc
@cozyvrc 2 жыл бұрын
so I did this but I switched the Interact event with a OnPlayerTriggerEnter (so when a player walks into the door they teleport) but it teleports everyone and that's not what I want, is there a way to fix this and still have the walkthrough door or will I have to do this as a button?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
This is a pretty common mistake, but 'event, on player trigger enter/exit' gets called whenever any player walks into the trigger, not just the local player. I explain how to do this in this video: kzbin.info/www/bejne/hZCbq3qcncmtoZI
@cozyvrc
@cozyvrc 2 жыл бұрын
@@PlayerBush001 thank you sooo much, I was able to fix it
@zskull162
@zskull162 2 жыл бұрын
How can I make the player teleport if they walk to a certain location? As in, they walk into a door, and it teleports them without having to press a button.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
You would want to replace the event 'Interact' with an event 'on player trigger enter' node instead. You would also need to plug the playerApi into a 'networking, is local' node, to check that it was us, the local player, that walked into the trigger. I actually wrote that exact script on my 'how to Change the players respawn point' video (kzbin.info/www/bejne/p6GmiK19osuLgas), where around the middle, I made some death boxes. The teleporting of the player was a workaround, as that video was posted before 'playerApi. Respawn' was a thing. Hope that helps ^^
@FlyByFox
@FlyByFox 7 ай бұрын
Is there any changes now that vrchat is on 2022.3.22? When I do this it just sends me to normal world spawn.
@PlayerBush001
@PlayerBush001 7 ай бұрын
Nope. Most likely you just made the teleport location below the world respawn height. You can adjust that height by going to your 'VRCWorld' object
@FlyByFox
@FlyByFox 7 ай бұрын
@@PlayerBush001 That was the issue thank you!
@DrTwiz
@DrTwiz 2 ай бұрын
ive been trying to figure out how i can make a control pad that i can select a user in the instance and teleport that specific person rather then all.
@PlayerBush001
@PlayerBush001 2 ай бұрын
that's... actually kinda annoying to do (at least without persistence or cyan player pool, which makes it 'slightly' easier) In order to teleport a player you want two synced int variables. One for the player Id, and another to be the amount of times it has teleported someone (this is to get around not being able to send variables alongside networked events). Also add a private int variable. Then when you want to tell everyone to teleport someone, get their playerapi, and set the synced playerID variable with 'playerapi, get playerID', and add 1 to numOfTimesTeleported, and play a 'udonBehaviour, request serialization' node (for manual sync). Then, on 'event, on deserialization' get everyone to check if private int localNumOfTimesTeleported == synced int numOfTimesTeleported. If so, put our synced playerID variable into a 'playerapi, get player by id', and check if that is the local player with 'playerapi, isLocal'. If so, teleport the player. However, that is only half the problem. The other problem is how do you know what player to teleport. For this, I usually delete and reInstantate ui buttons, and use a ui component to sort out their placement on a panel. For this, you need to know what player's are in the instance, which can be done with 'playerapi[], constructor (playerapi, get player count)' --> 'playerapi, get players'. Then, you use a parent object that only stores player buttons, and loop through it deleting all objects. Then you instantiate a button prefab. On that prefab, you have a script that holds its player id, and when clicked, tells the parent object that it was pressed... etc.. etc. so yea, not the easiest thing, but if you are up for the challenge, that's how I would do it ^^
@DrTwiz
@DrTwiz 2 ай бұрын
@@PlayerBush001 jeesssusss chrriissst
@I_AM_ALGORITHM
@I_AM_ALGORITHM Жыл бұрын
Can u make a video on how to telaport admin players I am very new and I find your videos a big help when I make worlds
@PlayerBush001
@PlayerBush001 Жыл бұрын
You're not the first to ask, so I may do one in the future.. That being said, it is only a small change. You simply have to switch out the 'animator, set trigger (isAdmin)' node with a 'playerApi, teleportTo' node; like seen in this video Hope that helps ^^
@EnzoAxiiVods
@EnzoAxiiVods 2 жыл бұрын
could you use something like this to have a held item that respawns the player it touches but not the player thats holding it like a kill weapon?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
'onTriggerEnter' -->> 'networking, isOwner' -->> branch -(false)->> 'PlayerApi,Respawn' You will need to have the trigger on a child object, as any item with a pickup component on it will switch to the pickup layer, which can't interact with the player's collider (otherwise you could walk all over it). Because it's a child, you will also need to add a script on the pickup object, to set the child object's owner to be the same as it. To do so, just create a script that does.. 'onOwnershipTransfered' -->> 'networking, set Owner ('networking, get Owner (transform, get gameObject ( transform, get child(0)))) I know I wrote this code in cryptic, but I hope that helps ^^
@EnzoAxiiVods
@EnzoAxiiVods 2 жыл бұрын
@@PlayerBush001 i understood the first part but not quite the last how exactly do i hook all that up
@zacharyflatt
@zacharyflatt Жыл бұрын
maybe im just missing something but when i try to create the networking - get local player, nothing shows up for networking
@PlayerBush001
@PlayerBush001 Жыл бұрын
it should be there, but there are a couple of things that can confuse people, so here are some sanity checks: - make sure you are doing a quick search (shortcut 'spacebar' or 'dropdown menu, add node') instead of full search (shortcut 'tab') - make sure you type in 'networking', select it, and then type in 'get local player' - check you have the latest version of the sdk (though realistically this shouldn't be the problem) If all that fails, I recommend asking on the offical vrchat discord, as there are a bunch of people that can help there, and you can take screenshots making the debug process easier
@funtimeemitnuf
@funtimeemitnuf Жыл бұрын
Sorry I'm late. I'm just curious what would i have to do make it the instance only owner
@PlayerBush001
@PlayerBush001 Жыл бұрын
You will want to do an 'is instance owner' check just after the 'event, interact' node. You can use the node 'playerApi, get isInstanceOwner' to check whether or not a particular player is the instance owner. So, you would just need to add the nodes: 'event, interact' --> 'branch('networking, get localPlayer' --> 'playerApi, get isInstanceOwner')' -(true)-> to your script. Hope that helps ^^
@exploringwithalexis9872
@exploringwithalexis9872 Жыл бұрын
If I wanted to make it so only certain people can use the button how would I do that?
@Eldurz
@Eldurz 2 жыл бұрын
when i interact with the button it just sends me back to player spawn. any advice?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Perhaps your trying to teleport the player bellow the respawn height? The default is -100
@reinacornify
@reinacornify 2 жыл бұрын
@@PlayerBush001 i had the same problem. ty for clarifying and taking the time to reply to ur comments
@Rush-InRoulette
@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
@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
@Rush-InRoulette Ай бұрын
@@PlayerBush001 Thanks for your reply! And on Christmas, no less. Happy Holidays, hope you're having a good one!
@PlayerBush001
@PlayerBush001 Ай бұрын
@Rush-InRoulette im from nz, so it's the day after for me 😅 ☀️🎄Meri Kirihimete! ⛄❄️
@oswaldtime
@oswaldtime 2 жыл бұрын
Is there a way to make the trigger work when you enter the collider? I wanna make some backroom teleporter into my map, because I didn't mesh collide one part of my map.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Yup. If you set the collider to trigger, and then use the node 'event, onPlayerTriggerEnter', put the playerapi though a 'playerApi, get isLocal' node and plug the resulting bool into a 'branch' node, then grab the 'true' and put that into your teleport to node. Now when the player enters the trigger, it will fire this event, teleporting the player. If you want a video example of that, look at my video 'How to change the player's respawn point' (kzbin.info/www/bejne/p6GmiK19osuLgas), where around the middle I made a player death box script that had a script doing exactly this. Hope that helps ^^
@oswaldtime
@oswaldtime 2 жыл бұрын
@@PlayerBush001 Thank you very very much. This, alongside the toggle object video will help me with making new maps
@lxvxsxck
@lxvxsxck Жыл бұрын
PlayerBush please help me I can't find a tutorial for how to make an audiosource play when an animation begins (like in your jumpscare video).
@PlayerBush001
@PlayerBush001 Жыл бұрын
I was kinda lazy with how i did it, so it perhaps won't work in your case, but at 0:51 of that video (kzbin.info/www/bejne/ZpSygqicf8djnJY) I showed the audioSource component itself. On it, I had the checkmark 'play on awake' ticked, and this means it will play whenever the object is activated, or when the game starts. For that jumpscare in particular, I just made sure the audioSource was toggled off by default, and then toggled it on with the animation, causing it to play when the animation played. However, if you want to do this with udon, it's really not hard. My first real tutorial (second video on the channel) covers the node 'audioSource, play' (kzbin.info/www/bejne/mYKWmYqBjpKBn6M). This node can be used, to tell an audioSource to play. To use this node, you could just have the audioSource active, and just un-tick the 'play on awake' so it doesn't play when the game beings. Then, add the 'audioSource, play' node just after the 'animator, set trigger' node, and that will tell the audioSource to play when you trigger the object. Hope that helps ^^
@necatron73
@necatron73 Жыл бұрын
Im trying to combine the Simple A.I. prefab and thr admin script so that if your not on the admin list the a.i. will track you down. If it touches you it throws you into a room that you can respawn out of. Any idea on how to clean up the code?
@PlayerBush001
@PlayerBush001 Жыл бұрын
It shouldn't be too hard. Simply create a trigger gameObject on your ai gameObject, and then make a script that combines my 'teleport player on touch' tutorial (kzbin.info/www/bejne/hZCbq3qcncmtoZI) with my admin door tutorial (kzbin.info/www/bejne/n5etlIOQi52Harc). Start with the admin door tutorial. Delete the animator and anything to do with it (leave the bottom branch node there though, just make it do nothing). Also delete the toggle room gameObject. Now, referencing the teleport script, replace the 'event, interact' node, with the "event, onPlayerTriggerEnter(playerApi)' --> 'playerApi, isLocal' --> 'branch'-(true)->" found from the teleport tutorial. Then come down to the bottom 'branch(isAdmin)' node, and plug the false into the 'playerApi, teleportTo' node. With that, now it should only teleport the player, if they are not an admin. Hope that helps ^^
@Mr_LeviAckerman
@Mr_LeviAckerman Жыл бұрын
unrelated, but can you do a video on who to make different background audios in different areas of a world, like one fades out and another plays. im a bit new and people tell me to do stuff and idek what they mean.
@PlayerBush001
@PlayerBush001 Жыл бұрын
To make an audio play in the background, instead of as an object in the world, then you'll want to untick 'spatialise' on the audiosource. To play a particular sound when you enter a zone, there are a couple of ways of doing that. One way is that you could have a manager script with a int I'd variable, and then call that manager script when you enter a new zone, and get it to change the id. Then on the manager, whenever the Id changes, get it to select that sound from an audioclip array, and apply it to your target audiosource. If that was too complicated, then perhaps look at my video on making a music player. There I cover how to make a button change the music playing on an audiosource. Just run that bit of code each time you change zone (with triggers or teleport buttons) and it'll do all of it without the need for a manager script Hope that helps ^^
@deathsensei7113
@deathsensei7113 Жыл бұрын
Whar if i wanted to have a teleporter where it teleports you to random locations using just one teleporter is there a way your able to do that
@PlayerBush001
@PlayerBush001 Жыл бұрын
If by random you mean to randomly decide from a bunch of set locations, then you would want to do this with a transform array(transform[ ]). I have a video on how to get a random object from an array, so just follow the method shown in that video, and replace the transform variable from this video Hope that helps ^^
@greyfox6262
@greyfox6262 Жыл бұрын
What if we want a script that makes it so that we get a random button to warp us to a random gameobject? like basically a randomized warp script!
@PlayerBush001
@PlayerBush001 Жыл бұрын
There are two ways of doing this. First, you could swap out the target location transform, with a transform array. This will give a bunch of locations that the player could teleport to. Then, you can just use a 'random, range' node, to say what random location they should teleport to. I have a video on getting a random value from an array, so feel free to check out that video if you're interested (kzbin.info/www/bejne/mp7Xl6eIabmYnKs) Alternatively, you could modify the vector3 itself, to truly randomize the location. To do so, I would use a 'vector3, get x' and 'vector3. get z' nodes. I would then use a 'random, (float)range' node, and set it to be -1 and 1 (or however far offset you want it's maximum position to be from the target location). Then add that random value to the x (float, add) and duplicate the random node and add that one to the z value. Then you can use a 'vector3, constructor' node, and add the new x and z values, and as for the y, use a 'vector3, get y' to get it from the original vector. Now, you will spawn at a random location around the target location. hope that helps ^^
@KittySimmer2001
@KittySimmer2001 Жыл бұрын
Is there a way to use this with a keypad instead of just one button
@OverseeingIndustries
@OverseeingIndustries 2 жыл бұрын
For some reason, it keeps teleporting me somewhere completely random not even where I have the teleporter. Just into the void.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Hmmm... Check to see that you are using a 'transform, get position' node, and not a 'transform, get localPosition' node
@OverseeingIndustries
@OverseeingIndustries 2 жыл бұрын
@@PlayerBush001 it worked! Thank you!
@Wrek1oose
@Wrek1oose 2 жыл бұрын
I know this is a bit old but what if someone wanted to send the player to a random location on a map with multiple "teleport to" locations? Is something like that possible?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Yes, but it depends. This could be really easy, to really hard to do. The crux of the problem, is that you can't teleport another player. You instead need to tell them, to run some logic, to teleport themselves. Now, if you want to teleport the local player to a random location, you can just get a random transform from a transform array, and use that for the position. I explain getting a random object from an array in this video: kzbin.info/www/bejne/mp7Xl6eIabmYnKs If you instead want to teleport everyone in the lobby into a random location, then you will want to replace the "event, interact" node with a "custom event(event name)" node instead. Then, as we want everyone to play this node when clicked, we want to use an 'event, interact' node plugged into an "udonBehaviour, send custom networked event(event name,all)" However, that will teleport everyone. If you instead wanted a lobby, and only wanted to teleport all the players in it (like i did in my falling platforms world (vrchat.com/home/launch?worldId=wrld_57b3594c-e9c4-4bd4-921a-839f0d88c696)), we will want to increase the size of our button, to be a trigger zone. On the graph, we will want to create a new public 'collider' variable (im going to call it 'triggerZone'), and a synced bool called 'triggerActive'. Then, on 'event, interact' we will want it to first make us the owner with "networking, set owner( networking, get localPlayer)", then make the bool "triggerActive" = true ('sendChange' = true). Then use an 'udonBehaviour, send custom event delayed seconds" (delayed by at least 0,1sec) to call a new custom event, that will make the bool false('sendChange' = true). Then create an 'event, on triggerActiveChanged' (drag and drop variable while holding alt), and get it to toggle on and off the collider with 'collider, set enabled(triggerZone , triggerActive)' node, that will turn it on when the bool is true, and off when it's false. (also play this on 'event, start' to make sure the collider is off when you enter the world) Finally, this will make it so that it plays the 'event, onPlayerTriggerEnter' whenever a player walks/ is inside of the trigger. Using this event, we can test if the player is the local player "playerApi --> playerApi, isLocal --> branch -(true)->", and then get it to run our teleport code. However, what if you just want to tell a single player to teleport. Well... that is where it gets more of a pain. One method (that can only really teleport players every 2 seconds) is to have a synced int variable. When you want to teleport someone, check if their playerId is the same as the synced int. If so, fire a custom event. If not, update the synced int. Then whenever the synced int changes or you receive a networked event, get the player to check if their id matches the synced int. If so, play the teleport code. However, this method fall apart at higher speeds, as you need to wait to make sure the new synced int value has been updated in time for them. As for the final way of doing this, if you were to use an asset like cyanlaser's object pool (that gives an object to every player) you could put a bit of code on ever object, and tell the object owned by your target to play some code using "udonBehaviour, send custom networked event(owner)". This much cleaner than the last one, but it means you have to install an asset. That was a little long and complicated, but I hope that helps ^^
@Wrek1oose
@Wrek1oose 2 жыл бұрын
@@PlayerBush001 Thanks for the reply I'm going to give it a shot im hoping for the best though. Can you tell me if this works with udon sharp in the creator companion or just with unity and the basic world SDK?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
@@Wrek1oose unfortunately, as you're dealing with networking, it has to be tested in game
@Plabini_223
@Plabini_223 2 жыл бұрын
my button only works once, it cant activate more than once per person
@PlayerBush001
@PlayerBush001 2 жыл бұрын
If the script only plays once, it often means the script is crashing. I don't know why it would be crashing though. I recommend looking at my video 'how to debug your code' if you can't find the fault.
@Plabini_223
@Plabini_223 2 жыл бұрын
@@PlayerBush001 i figured it out! i was trying to make it vibrate the controller as well but when i deleted that vibrate node it all just worked
@EmM-ko7mu
@EmM-ko7mu 2 жыл бұрын
How do we do this if you walk into the button instead of clicking it?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Replace the 'event, interact' with a 'event, onPlayerTriggerEnter' -->> 'playerApi, isLocal' -->> branch -(true) ->> (Thought I had made a follow up video on this, but it seems I never did...)
@dlgodzilla6359
@dlgodzilla6359 2 жыл бұрын
Uh... when I look up networking at the search bar, it doesn't show up. Could you tell me why?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
As a check, did you open up the quick search or full search? ('spacebar' instead of 'tab'). If you do a full search, you will have to search for the node directly
@dlgodzilla6359
@dlgodzilla6359 2 жыл бұрын
@@PlayerBush001 Ah, thanks man! Worked out fine
@mingyu2672
@mingyu2672 2 жыл бұрын
Really love this Tutorial, is there a way you can make a tut on teleporting players if you touch them with a stick?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Glad you liked it! ^^ Probably won't do a tutorial, as it's not a common thing to want. Might so something similar with a gun though. That being said, here's how I would go about doing it: Create a synced int, and call it 'telePlayerID'. Then 'on player trigger enter', 'player api, get ID' and put that into a 'set telePlayerID' node. Then get the event 'on telePlayerID change', and check if 'networking, local player' --> 'player api, get id' is the same as 'telePlayerID' with an 'int, equals' node. Put that bool into a 'branch' node, and if true, teleport player. Writing code as text is fun... But hope that helps ^^
@mingyu2672
@mingyu2672 2 жыл бұрын
@@PlayerBush001 Ooo understandable. But thank you for replying and helping , been trying to figure out udon for a while still abit tricky
@code037ch.7
@code037ch.7 2 жыл бұрын
Awesome video! I was also looking for a tutorial that will make objects always look at the player using Udon?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Glad you liked it ^^ I did think of making a video showing how to do it, but I'm not sure how exactly I'll make it relevant. That being said, someone recently posted about this exact thing in the vrchat 'udon-questions' discord, posted by the user 'SIR' yesterday. His solution should help ^^
@AlphaBrazen.
@AlphaBrazen. 6 ай бұрын
is there a way to teleport all players to Multiple different spawn locations (randomized) if they are in a specific area? instead of the entire lobby.
@PlayerBush001
@PlayerBush001 6 ай бұрын
Sure, though you do need to get creative, as you are unable to tell a different player to teleport; only to tell them to play an event that tells them to teleport. In my 'falling platforms world', I just turned on a box collider for everyone, and added a script to that collider that teleported anyone 'onPlayerTriggerEnter' so they would teleport themselves. I then got them to pick a random location from a transform[ ], so they would spawn at different locations. People sometimes spawned at the same location due to it being fully random, but that wasn't a problem for my world. If that's not okay for your project, you'll need a more complicated script..
@AlphaBrazen.
@AlphaBrazen. 6 ай бұрын
@@PlayerBush001 I think i will lol. if you ever knew the XcDisc world im trying to create my own version of it cause it was taken down recently. however i have 0 world unity knowledge 🥲
@tiffypressstart2157
@tiffypressstart2157 Жыл бұрын
For some reason it’s not working lately, or possibly not working by the second teleport. So whether it is a single user teleport or an all users teleport. I have a transform that is the same for all the players and yet somehow only the master goes to the right place, everyone is teleporting to the older transform. It’s driving me nuts.
@PlayerBush001
@PlayerBush001 Жыл бұрын
I can assure you this is still the method, your just missing something. That being said, I can't think of for the life of me what might cause that. Mind joining the discord and asking there? I'll take a look
@tiffypressstart2157
@tiffypressstart2157 Жыл бұрын
Ooh hey thanks for noticing this comment and I figured it out it was because my function was private and it has to be public to work with the SendCustomNetworkEvent since I use Udon Sharp. Thanks for offering to help regardless as that means a lot!
@PlayerBush001
@PlayerBush001 Жыл бұрын
@tiffypressstart2157 ah yea, that catches people out. Same is needed for networked events and events been called by regular udon graph (obviously, as its another script). Fun fact, all udon graph events are public, so every custom event you make can be called by a hacked client ^^'
@HuntnK9z
@HuntnK9z 10 ай бұрын
everything is identical to what is there but I only get teleported to the origional location not the target location
@PlayerBush001
@PlayerBush001 10 ай бұрын
The transform it will teleport to will default to the object that the script is on. Either, the transform variable is not public, the transform variable is not being used in the script (unlikely), or you have forgot to tell it what object to teleport it to inside the inspector. Note, if the variable wasn't public (1) then you will need to hit the compile button in the top right of the udon graph Hope that helps
@RhozetaVODS
@RhozetaVODS 2 жыл бұрын
cool tutorial, but how would i make it teleport a player when they collide with something?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
kzbin.info/www/bejne/hZCbq3qcncmtoZI
@radiantwolves9771
@radiantwolves9771 9 ай бұрын
in sdk 3.5.2 uhh cant find the networking thing in the udon graph
@PlayerBush001
@PlayerBush001 9 ай бұрын
Make sure you are using quick search (spacebar) and not full search (tab). Also, make sure you are typing 'networking, then selecting it, and then looking for the node. And lastly, make sure you don't have any nodes selected when you go to search. There is a stupid setting (that is on by default) that will only search in the catagory of the node you have selected. It can be disabled at the top left.
@radiantwolves9771
@radiantwolves9771 9 ай бұрын
I did and well nothing happened. I then looked on gumroad for a udon toolkit, imported it and somehow it fixed the issue i had
@luisdelacruz6128
@luisdelacruz6128 2 жыл бұрын
Can I just do is trigger for a door and add a udon behavior to it so the door can be clickable?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Yup, but you can click on it even if it's not set to 'isTrigger', as making it a trigger will only mean you can walk through it
@wolfythewolf6512
@wolfythewolf6512 Жыл бұрын
I got a idea string saving how does that work,?
@PlayerBush001
@PlayerBush001 Жыл бұрын
you can store information in a string (usually some numbers, or letter combinations as numbers), and then extract that information back out later on. Some level of encryption is normally needed too, to stop people sharing codes around, or figuring out the pattern and messing with the 'save file'. How this works will completely depend on your world and where stuff is stored, but the most basic would be a level saver. Basically, you could get them to type a value into an 'input field' ui object, extract the number with an "uiInputField, get text' --> 'float, parse" nodes, and then apply that value to a level manager, do a bit of math on it for encryption sake, and then get it to unlock the correct level. Sorry I can't go into detail, but I hope that helps ^^
@wolfythewolf6512
@wolfythewolf6512 Жыл бұрын
@@PlayerBush001 Also you have full promise to make a video about it because is was going to be public when it's done to have more creator the ability to make games
@PlayerBush001
@PlayerBush001 Жыл бұрын
I wouldn't know what exact one you are referring too, but honestly, many projects and videos have been dropped. There are some that just didn't work, or more basic questions got asked and while working to cover those videos, or my poor health just got in the way and I changed course. I'm sorry if that was one of them ^^'
@wolfythewolf6512
@wolfythewolf6512 Жыл бұрын
@@PlayerBush001 well sorry I was trying to say promision but it works with a login names like a chat then grab one name and put it on the side line to be a tagger but I can't sync with the synching video witchs weird so inturnal need to make get to a network I don't really know I m trying my best and at this moment I maybe need 2 heads then one
@wolfythewolf6512
@wolfythewolf6512 Жыл бұрын
@@PlayerBush001 it only works locally now but to make tag I have need a global selection
@mrwhitesergius
@mrwhitesergius Ай бұрын
thanks for help
@user_friendly_9388
@user_friendly_9388 2 жыл бұрын
Great, how do I set it so when a player instead of interacting with a button can be teleported without clicking? Thanks!
@PlayerBush001
@PlayerBush001 2 жыл бұрын
So, when someone walks into it? You simply want to teleport the player using the event 'onPlayerTriggerEnter', and check that it is the local player. I actually made a script doing just that on my 'change player's respawn point' tutorial, around the middle: kzbin.info/www/bejne/p6GmiK19osuLgas
@user_friendly_9388
@user_friendly_9388 2 жыл бұрын
@@PlayerBush001 Fantastic! Yeah I'm trying to simulate death/respawn in some way with Udon, thanks a lot I will give it a shot!
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Ah, glad I could help ^^ Since posting said video, VRChat did an update that added the function 'playerApi, respawn', that can be used to respawn the player. Just replace the teleporting node with that node instead, and you should be set ^^
@user_friendly_9388
@user_friendly_9388 2 жыл бұрын
@@PlayerBush001 I was looking around for a way to use Udon for changing scenes but nobody has done it yet. You got any clue how to either set a trigger object to enter the new scene or something? I was reading the list of events of the site but I can't see it...
@PlayerBush001
@PlayerBush001 2 жыл бұрын
I've never tried changing scenes before, but I'm like 50-50 on whether or not it's even possible. I've just assumed that normally people just have everything in one scene, and then just add everything for each 'level' on an empty gameobject, and then toggle on the correct gameobject for the their level. There is even an example script on this in the sdk. Sorry, can't be much more help than that
@vaporwavevaporeon
@vaporwavevaporeon 2 жыл бұрын
doesn't work, it only spawns me in the where my VRC world is only, did it twice same result :/
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Your probably trying to teleport the player below the worlds respawn point (editable on your 'VRCworld', default is -100). Thus, when the player gets teleported, it sees that the player is too low and respawns the player
@vaporwavevaporeon
@vaporwavevaporeon 2 жыл бұрын
​@@PlayerBush001 that actually makes sense..., i apologize about saying it does not work, i have watched 3 or 4 of these teleport videos all with no success but i will be sure to try that thank you
@PlayerBush001
@PlayerBush001 2 жыл бұрын
No worries, glad I can help ^^
@Alyx-Ty
@Alyx-Ty Жыл бұрын
for some reason i dont have networking when i seach for the node
@PlayerBush001
@PlayerBush001 Жыл бұрын
Make sure you are doing 'quick search' (spacebar) instead of 'full search' (tab). You can also access quick search by right clicking the graph, and going 'add node'
@nonickname1104
@nonickname1104 2 жыл бұрын
Can I portal back and forth?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
yes. you just would need to create another button and teleport location to do the returning. If you want to make it a portal that you walk though however, you would replace the 'event interact' node with an 'event onPlayerTriggerEnter' node instead Hope that helps ^^
@nonickname1104
@nonickname1104 2 жыл бұрын
@@PlayerBush001 🤟🏿It does indeed. Thanks
@lynrayy
@lynrayy Ай бұрын
0:52 - My UI is different and there is no variables
@PlayerBush001
@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
@lynrayy Ай бұрын
@@PlayerBush001 Yeah, found it some time later. Thanks anyway!
@ruandma
@ruandma 2 жыл бұрын
thank you
@PlayerBush001
@PlayerBush001 2 жыл бұрын
You're welcome ^^
@Amniuck
@Amniuck 2 жыл бұрын
Mega helpful my friend
@madness-lifex3004
@madness-lifex3004 2 жыл бұрын
Thank you!
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Your welcome ^^
@lexiondubs1411
@lexiondubs1411 2 жыл бұрын
Is there a way to make like a echo effect or reverb to players voices? please. anyone? I'd like to know :,)
@PlayerBush001
@PlayerBush001 2 жыл бұрын
I haven't into it too much myself, though from what I've seen, I don't believe you can (never seen a world do it either). You can apply effects to any audio sources in the world, but I don't believe we currently have access to the audio from the player (think I heard somewhere that it was a privacy problem or something...). I would definitely ask around on the VRChats' 'udon-questions' discord channel. Some of the people there know a lot more than me ^^ Be sure to let me know if you find anything ^^
@LenaTurquoise
@LenaTurquoise Жыл бұрын
Very good tutorrial, altho you should concider talking slower. I understand not wanting to drag on your tutorial and boring people, but I had to pause and go back a few times. Anyway, thanks a lot for help!
@PlayerBush001
@PlayerBush001 Жыл бұрын
I 100% agree, but I just get bored recording ^^' I recommend watching at 0.75 speed if you find it too fast ^^
@chimera5946
@chimera5946 2 жыл бұрын
this is outdated do i use the Player api then get islocal now?
@chimera5946
@chimera5946 2 жыл бұрын
nvm i fixed it
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Cool ^^
@jakedothings
@jakedothings Жыл бұрын
hey i got a video idea but dont know it poseble making a id reader in vrchat like if you want to grab a avatar in game you can paste the code and you get the avatar
@PlayerBush001
@PlayerBush001 Жыл бұрын
Yea, this isn't possible afaik. I don't think it is what you are after, but if you need the id of an avatar: If you favorite and avatar, then go to the vrchat website and look at the avatar you just favorite. In the url, the later half is the id of the avatar, and you can use that to get the id to put on a pedestal in your world. That's about the best that I can offer.
@jakedothings
@jakedothings Жыл бұрын
@@PlayerBush001 no i m not after it but i have a friend that i made a avatar for but because he bizzy and i m also i was thinking like just now i found a world what can search vrchat avatars and i m confused because i never seen anything like it
@PlayerBush001
@PlayerBush001 Жыл бұрын
never seen that myself, and I don't exactly know how it would work. Would be fun to look into how it all works, but all my leads have dried up. Would love a link to the world if you can find it again ^^
@jakedothings
@jakedothings Жыл бұрын
@@PlayerBush001 i got it finaly working it need to get the string working and int but some times it did not want to work so i had to copy past part of it to get it work toggerter and now a fully synce chat box is ready yes after working on it for a week
@OSBeans
@OSBeans Жыл бұрын
How the hell is this easier than VRC Triggers >~> Came back to VRChat to try to make one last map and found that VRCSDK2 is depreciated . . . that system was so much less complicated
@PlayerBush001
@PlayerBush001 Жыл бұрын
Udon was designed to be more powerful and capable, not easier to use. It is however far and away easier to do anything more than the basics of basics. Honestly, afaik, it isn't that far off from sdk2, just with everything done in a graph, and many dropdowns now being nodes. Unlike how I had to explain everything step by step here, it all becomes super easy and second nature once you know the system. As for sdk2 being gone, you're not the only one who doesn't really want to learn a new system to do the same, super basic actions that you did in sdk2. UdonGraph is just a compiler for udon assembler, and so CyanLaser made an asset called 'udon Triggers', that allows you to code udon in a similar fashion to sdk2. It doesn't convert sdk2 nodes to sdk3, but it does make coding very similar to the old trigger system, and can theoretically use all the power of udon to do all the new advanced things (just with a shit tonne of component bits like skd2) Might make things a little easier to make for ya ^^
@BeanieOS
@BeanieOS Жыл бұрын
@@PlayerBush001 Cyan made a tut for that? Neat. They helped me learn complex triggers and animation setups. I just find it weirdly difficult to use Udon when all you had to do was insert a trigger, link to an object. But now you have to bend over backwards to get a simple teleport player setup or even a mirror. Just doesn't seem to be what they advertised with making it "easier" when they meant coders and programmers would find it easier than people who don't code .... If that makes sense
@PlayerBush001
@PlayerBush001 Жыл бұрын
From memory, udon was made to make making 'games' easier to make; rather than just worlds in general. The biggest problem with sdk2 was how limited it was, but the advantage of that was that it was super simple to make the things it was designed for. Udon is a complete tool, while sdk2 had a bunch of 'asset-like' blocks of code, that you could add to your objects. This made it simple to add teleports or mirror toggles to your world, but it also left vrchat's game logic leaving a lot to be desired. Honestly, I find it kinda sad how most vrchat worlds (outside of some mirror toggles and video players) are no more than a bunch of un-interactable meshes; much like I saw in the early oculus dev kit demos. I think with much more tutorials and examples (instead of just relying on people to learn unitys coding and port that to vrchat) the hurdle for people to learn udon would be greatly reduced. It's really intuitive and easy to use once it clicks (unlike avatars...), but it's just soo unknown to much of the player base, that it's just daunting getting the help to get started. I hope my tutorials have helped try and bridge that gap, but it's such a large topic to cover.. Either way, them keeping two systems going is just a burden on the team, and it makes it harder for them to make changes that make the game better. They had to choose one, and udon allows for much more than triggers did; just with a bigger learning curve
@starlesscaro2695
@starlesscaro2695 Жыл бұрын
it flings me out of my starter area and not to the area i need help
@PlayerBush001
@PlayerBush001 Жыл бұрын
Does it fling you with velocity, or does it just teleport you in a weird location.? If it is flinging you, you are likely teleporting inside a collider, and the player is being kicked out of it. If you are just getting teleported to a weird location, then check to make sure you are using the node 'transform, get position' instead of the node 'transform, get localPosition'. If you are just seeing a frame and then being teleported back to spawn, then check to make sure the player isn't being teleported below the respawn height of the world
@maastodon2052
@maastodon2052 2 ай бұрын
Great and informative video, but damn bro you need to go a bit slower sometimes
@Vizful
@Vizful Жыл бұрын
bro there is no networking or get local player in the search for create node what the heck
@PlayerBush001
@PlayerBush001 Жыл бұрын
You wouldn't be the first to have a random issue not being able to find a node, however the couple of times people have commented this, the solutions were always rather weird or rather forgettable. Some simple things to check would be: Do you have the latest sdk Have you tried restarting unity Are you doing a quick search (spacebar, or 'right-click, create node') instead of full search (tab) Have you checked your spelling But if the problem continues, I'm not really able to help. Try messing around with some things and see if it still happens. Also ask on the official vrchat discord, as there are people there smarter than me that may be able to help. As part of your testing, I would recommend making a brand new project, and just check if the problem is to do with your current project, or a more fundamental unity/sdk/installer problem. May help with troubleshooting
@Vizful
@Vizful Жыл бұрын
@@PlayerBush001 found out i wasn't doing full search with space bar i was right clicking and creating node i was like ahh lolll
@evangelion7991
@evangelion7991 2 жыл бұрын
my god this guys so helpful but god damm is he fast at this i legit had to play at 0.75 speed to follow :L
@PlayerBush001
@PlayerBush001 2 жыл бұрын
haha! I'm always struggling with pacing, as I don't want them too slow to be in-efficient/ boring, but not too fast as to requiring the majority of people to have to slow it down. I believe this video came out around when I was at my quickest in terms of speed XD
@SushiWolfYT
@SushiWolfYT 2 жыл бұрын
In the newer version its called getplayerbyid in PlayerAPI
@PlayerBush001
@PlayerBush001 2 жыл бұрын
No, 'playerApi, getPlayerByID' has been around for ages, and it is great for grabbing a particular playerApi based of their id. The player's Id is based of when they entered the world, and it counts up for every person that joins the instance, until the instance dies. This is a great way to sync a particular playerApi variable using an int, as playerApi's themselves cannot be synced. It is not the same as getting the local player. If you were to replace 'networking, get localPlayer' with 'playerApi, getPlayerById' in this script, it would initially work in single-player testing. This is because you are the first to join the world, so your playerID will be 0 (the default int value for 'playerApi, getPlayerByID'). If another player were to join the world and try and use the button, the button wouldn't work for them. If you were to try and make everyone teleport with the networked version shown in the second half of this tutorial, the script will only teleport the first player. If you were to leave the world and the second player was still in it, they would retain and ID of 1, and given the script couldn't find a player with and ID of 0, the script would crash. It's awesome to see people looking for alternative nodes, and trying to help update these tutorials as they age (really do appreciate it ^^), but unfortunately this one is kinda wrong...
@SushiWolfYT
@SushiWolfYT 2 жыл бұрын
@@PlayerBush001 yeah. i tried looking for the ones you said, but they aren't listed for me.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
@@SushiWolfYT It should be there. I'm in a brand new project made 2 days ago with the latest sdk, and it's definitely there. try pressing 'tab' instead of 'spacebar' to do a full search instead of a quick search, and just type 'getLocalPlayer' to confirm that the node does actually exist. If it doesn't exist, you may wanna reinstall the sdk. If it does exist, then perhaps your typing something wrong instead of 'networking, get localPlayer'
@SushiWolfYT
@SushiWolfYT 2 жыл бұрын
@@PlayerBush001 alright. thank you!
@SushiWolfYT
@SushiWolfYT 2 жыл бұрын
@@PlayerBush001 I know i'm having as much trouble as a granny on an iphone, but now it's not even interactable. i put them down step by step. but nothing seems to work.
@Pax_the_Casual
@Pax_the_Casual 2 жыл бұрын
Please address possible errors and solutions to those errors in future videos. Your tutorial, while useful, left out that key detail. I watched very carefully, even slowing down the video and replaying parts multiple times, but somehow still my player is sent to spawn instead of the target location.
@PlayerBush001
@PlayerBush001 2 жыл бұрын
If I spot something, I do like to make a point of mentioning it in the video. That being said, as someone that knows udon reasonably well, it can be hard to see the less intuitive parts, and I often end up bug fixing people's code in the comments section instead. As for your problem, a couple people have had this problem. I'm 99% sure you're trying to teleport the player bellow the respawn height, causing them to respawn as soon as they are teleported. Try and teleport them to a higher place, to test that the code works. If you need to lower the respawn height, you can do that on the scene discriptor, or on your VRCWorld object. Hope that helps ^^
@Pax_the_Casual
@Pax_the_Casual 2 жыл бұрын
@@PlayerBush001 A speedy response, that is immensely appreciated. I am giving it a go now to see if it should work above that height. Looks like it worked. Thank you for going out of your way to respond to our comments and offer solutions!
@necatron73
@necatron73 Жыл бұрын
Trying to combine the admin script with teleport script for a Player joins is admin teleport and toggle on main world spawn. If the player is admin they auto teleport to the world. If they aren't admin they teleport to code box room (using foorack code panel) if the xode is correct it toggles on the world and they teleport into the world. Coding is breaking me lol
@PlayerBush001
@PlayerBush001 Жыл бұрын
I have a tutorial on moving the players spawn point (kzbin.info/www/bejne/p6GmiK19osuLgas), but it's simply a case of moving the 'VRCWorld' gameobject For your script, have a custom event that teleports the 'VRCWorld' gameobject (and teleport player/ force respawn). Then, on 'event, start', do the check to see if we are a vip, and if so, play the event to move spawn. Then for the code, use the code wheel script you have, and if the code is correct, also play the event. This way, once it has moved the respawn location, you will never need this script again, and players won't need to re-enter the code ^^
@necatron73
@necatron73 Жыл бұрын
@@PlayerBush001 many thanks, ill give it a try. Also would it be worth having event on start and plug it into the networking player api bool from that tutorial? It seems that it would stop a lot of the triggered mass admin teleporting if another admin joined. I noticed all my admin members started spawning back to the set location
@jehresbdhdhs7761
@jehresbdhdhs7761 2 жыл бұрын
i did every step not teleporting me or anything
@PlayerBush001
@PlayerBush001 2 жыл бұрын
You most likely forgot to tell it what object to teleport the player to. I explain that at 2:27
@jehresbdhdhs7761
@jehresbdhdhs7761 2 жыл бұрын
@@PlayerBush001 i did that when i walk to the cube it says teleport but dosent teleport me
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Hmm... it should work if you click it.. I would recommend asking this in the official vrchat discord, under 'udon-questions' as there you can post screenshots of your code which makes bug fixing much easier.
@Warfield_vrc
@Warfield_vrc 2 жыл бұрын
i don't see any networking at all
@PlayerBush001
@PlayerBush001 2 жыл бұрын
You don't need networking to teleport the local player. However, if you instead just wanted to teleport everyone on the scene, I explain that at 2:41 If you just want to teleport a particular player in the scene, then it gets a bit more complicated; and rather hard to explain in a YT comment. I recommend asking in the official vrchat discord 'udon-questions' channel, as there people can show images which greatly helps
@purplepikminYT
@purplepikminYT 7 ай бұрын
blah, hate how much stuff changes since this video made cuz UI changes happen and this is the 2nd time trying to get any level of teleport to work with just errors..
@PlayerBush001
@PlayerBush001 7 ай бұрын
Not much has changed since this video was made. The only thing I can think of is now the udon 'variables' is a sidebar instead of floating inside the graph area. Everything else should be exact as shown in this video; hence why I haven't remade it
@KingYard
@KingYard Жыл бұрын
1ST OF ALL VRCHAT SDK DOESN'T WORK FOR EVERYONE ANYMORE AND THAT'S WHY THINGS LIKE THESE WONT WORK
@PlayerBush001
@PlayerBush001 Жыл бұрын
Bro, wtf? No need for all caps. I uploaded the latest version of my new world to vrchat yesterday, and the sdk works just fine. If I were to guess what your getting at, it is probably the big update they did a couple of months ago where they stopped support for sdk2 (they supported that for longer than they needed to). They also made a change to sdk3, where they moved the sdk files from the asset folder, to the packages folder (where it honest should have been all along), and that broke some assets. This script uses udon (sdk3), while many older tutorials where for sdk2 (hence why I started making videos) The sdk is fine, this script still works, and you can still make cool worlds for vrchat. Have a nice day, making a world ^^
@KingYard
@KingYard Жыл бұрын
@@PlayerBush001 oh than sorry i was using the stupid web the vrchat made themselves it's not problem the have no talent linking the right things the whole years still having chair glitch after 5 or 6 years so good Udon isn't for everyone still but okay i see you see yourself as everyone
@PlayerBush001
@PlayerBush001 Жыл бұрын
@@KingYard as a game develops, the methods and tools change with it. That's just the reality of a live service game. Sure there are some changes I haven't liked (the continuous sync update 6ish months ago still causes me no end of grief), but I'm not about to bash the game that allows me to create really cool stuff. There are always problems and limitations in game dev, but instead of blaming unity, we're blaming vrchat. These things never change, it just looks different for vrchat dev. I see no reason to get particularly angry; just have fun working around the limitations you're given ^^ As for something of interest for ya. Cyan laser made an udon compiler called 'Cyan Triggers', which was designed to make udon feel more like the sdk2 way of doing things; while still having all the capabilities of udon. I've seen many older vrchat devs using it, so perhaps you should try that and see how you go ^^
@HugoAndrade-e7e
@HugoAndrade-e7e 18 күн бұрын
targetlocation
@whsprLenYT
@whsprLenYT 7 ай бұрын
this video is actually 8 minutes long
@vinculprit5175
@vinculprit5175 3 жыл бұрын
No way it'll end badly..... mwahahaha
@PlayerBush001
@PlayerBush001 3 жыл бұрын
no way, never.
@jeshirekitenkatt1212
@jeshirekitenkatt1212 10 ай бұрын
You speak so fast, I can hardly keep up... I'm having to rewatch 5-10 second sections of video 10+ times just to see and understand what you're doing :(
@PlayerBush001
@PlayerBush001 10 ай бұрын
You wouldn't be the first 😅 Some people recommend watching at 0.75x speed Personally, I watch most YT tutorials at 1.5x speed, so my videos end up tailored towards that speed
@Dice-playz
@Dice-playz 2 жыл бұрын
Not ganna lie this tutorial was very unclear I learned basically nothing
@PlayerBush001
@PlayerBush001 2 жыл бұрын
How unfortunate :/
@chimera5946
@chimera5946 2 жыл бұрын
you must have zero basic unity knowledge to not understand
@jakedothings
@jakedothings Жыл бұрын
hey do you have discord because i m working for making games like tag now and i making all of it so i need your info as a bit now i have anouth for making chat and save and load but i m kinda confused what work with one and a nother chat work saving work chat reading work owner script work but want it to be form the list in vrchat like game list and then random pick tagger that all also making tycoon script with saving one and chat box
@PlayerBush001
@PlayerBush001 Жыл бұрын
That's... a lot of scripts that you would want help with. The problem with such a broad question, is that it becomes a lot more work for me to explain everything. It takes a lot more effort to explain how to do something, compared to actually doing it myself. If you are working on a particular script and run into something, or just want a really board direction as to how to make a script, then I'm more than willing to answer. As for the main one written here being a 'chat function', that is actually quite complicated. I wouldn't do it in udon graph, as graph really struggles when it comes to dynamically changing arrays; so I would need to know how confident you are with coding before I could explain it ^^'
@jakedothings
@jakedothings Жыл бұрын
@@PlayerBush001 well it works localy not global and i m testing out all the ways and soon going to begin with a networking toggle script to see that i take some parts from that to make new
@Nanotopia
@Nanotopia Жыл бұрын
Thank you!
@PlayerBush001
@PlayerBush001 Жыл бұрын
You're welcome! ^^
@Pawlsar
@Pawlsar 2 жыл бұрын
This really helped! Thanks so much lad!!
@PlayerBush001
@PlayerBush001 2 жыл бұрын
Thanks! ^^
@moonlightlily1085
@moonlightlily1085 2 жыл бұрын
I followed the video but it says I don't have a "public variables" am I doing something wrong?
@PlayerBush001
@PlayerBush001 2 жыл бұрын
In the udon graph, select your variable and hit the little dropdown, and click public. this will make it a public variable, allow you to see it in the inspector. However, do make sure to hit the 'compile' button at the top right of the graph, as just changing a variable to public won't cause it to auto-compile Hope that helps ^^
@moonlightlily1085
@moonlightlily1085 2 жыл бұрын
@@PlayerBush001 thanks for the help
Create an Automatic Door - Udon / VRChat SDK3.0
17:00
PlayerBush001
Рет қаралды 8 М.
Create an Admin / VIP Only Room - Udon / VRChat SDK3.0
6:35
PlayerBush001
Рет қаралды 14 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
I recreated KARLSON, (to bring back Dani)
8:21
AboveTuna
Рет қаралды 827 М.
How to Create a Music Toggle Button - Udon/ VRChat SDK3.0
18:20
PlayerBush001
Рет қаралды 17 М.
How to Optimize your VRChat World INSTANTLY
6:34
Dorktoast
Рет қаралды 14 М.
Create a Proximity Mirror - Udon/ VRChat SDK3.0
4:05
PlayerBush001
Рет қаралды 12 М.
This Is The Greatest Project Ever
11:46
Clydiie
Рет қаралды 359 М.
How to Create and Publish Your Own VRChat World in 2024
7:45
Can you make a VR game in Scratch? (devlog #1)
10:00
STEM MC
Рет қаралды 143 М.
How Games Make VFX (Demonstrated in Godot 4)
5:46
PlayWithFurcifer
Рет қаралды 377 М.
Simple Clickable Door - Udon / VRChat Scripting SDK3.0
13:16
PlayerBush001
Рет қаралды 4,3 М.
VRChat | Neon Lighting & Bloom Effect
6:37
VRCMacki
Рет қаралды 23 М.