Тёмный

How to Drag multiple Objects into an Object Pool - Udon / VRChat SDK3.0 

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

Here's a followup from my video covering object pools, with the answer to how to drag multiple objects into an object pool in one go!
Once again, huge shout out to 'The Kally' for explaining how to do it ^^
So hopefully this is helpful. As always, if you have any questions, feel free to ask in the comments bellow! ^^
#VRChat #Udon #SDK3

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

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@TheKally
@TheKally 2 года назад
👍❤️
@greykenny
@greykenny 2 года назад
This is amazing!! Thank you soo much for this tips and tricks! If could ever meet you in VRChat gonna give you all the thanks from me cuz you're helped me alot on Building worlds and do Udon Scripting!
@PlayerBush001
@PlayerBush001 Год назад
Happy to help! ^^
@NoMags
@NoMags Год назад
I hate to ask this again and bother but I could not figure it out when you explained it last time. How can I go about making a room that locks but unlocks after the player exits the room. I’m having an issue where everyone locks rooms then leaves the world or respawns still. And can’t figure out a solution. Any help is appreciated. My door locks are global.
@PlayerBush001
@PlayerBush001 Год назад
urgh... I have a video that's been delayed like crazy that would explain this... Dunno what I said before, but I think the best way of doing this would be to use the node 'physics, check box' (or capsule or sphere, whatever makes more sense for your room shape). Then you change it's values to fit the interior of your room; and then give the node a layer mask of "1536" ((2^9) + (2^10)) so that it only looks at the player layers. Then make this a custom event, and then have your check events like 'on player respawn', 'on player left', or 'on player trigger exit', call this event with a 'udon behaviour, send custom event delayed by seconds', and delay it by something like a second, just to be safe. With this, after the delay, it will check if there are any player colliders in that area. Then using the bool, if there are players still in the room keep the door locked, but if not, then unlock the door as no one is still in the room. Not sure if this explanation is easier or even the same method, but I hope this helps ^^
@LordOfLastz
@LordOfLastz 2 года назад
Saddly it only work with pool it wont work with array, currently i'm working on a world that the tree can change color according to season selected, all tree has same animation but i got over 500+ tree, it was a pain to put it in array one by one lol.
@PlayerBush001
@PlayerBush001 2 года назад
Yea. That being said, it isn't ideal to store that many objects in an array, as it has to store those values. I would recommend instead making all those objects a child of another object, and then cycle through its children with either 'transform, get components in children' and cycling through that temp array; or use a 'transform, get childCount' and 'transform, get child(int index) -->> transform, get component' Hope that helps ^^
@LordOfLastz
@LordOfLastz Год назад
​@@PlayerBush001 i'm not sure how to set that up correctly, can I talk to you via discord or something I would really appreciate it, I mean if you're available
@PlayerBush001
@PlayerBush001 Год назад
@@LordOfLastz ping me on discord and I'll send you a screenshot of what I mean
@LordOfLastz
@LordOfLastz Год назад
@@PlayerBush001 may i have your discord info? i cant find your discord or discord server in any video description.
@PlayerBush001
@PlayerBush001 Год назад
@@LordOfLastz oh, I figured you would have found me through the vrchat discord lol. Highly recommend joined there btw. Anyways: PlayerBush001#1377
@Lukipl4y
@Lukipl4y Год назад
thanks for the excellent tutorial!! do you know how to use an interact while holding an item(Pickup)? like in some minigames. this is to help desktop players so you don't have to drop the item you are holding
@PlayerBush001
@PlayerBush001 Год назад
Tbh, I've had some thoughts, but I haven't really come to a conclusion as to best way of doing this. You would need to recreate the raycasts that it would normally do, so it would likely be a bit too larger for an udon graph tutorial. I'd honestly be surprised if no one has created an asset for this; but I haven't personally come across any. If you're look for this, let me know if you find anything (perhaps on booth?) ^^
@alexisretzman4074
@alexisretzman4074 Год назад
i'm having an issue where the cards spawn at the designated empty but they don't spawn on top of each other like they should, they spawn spread out like the way they are in the scene, i've messed around a lot with the nodes but can't get it to work i followed the code on the previous video to a tee but still, nothing
@PlayerBush001
@PlayerBush001 Год назад
You're the second person to ask this recently... dunno if vrchat is doing something weird. That being said, playtesting the code again on my end shows that it still works in my scene, so I don't know how it could be failing. This is where asking in a discord server is a lot better, as there you can post images which massively helps the debug process. Looks like you posted in vrchat's discord in the 'udon questions' channel, so I'll answer there ^^
@Pr0Xyk20126
@Pr0Xyk20126 Год назад
bro can you show me how to make a script so that you can switch to the 3rd person?
@PlayerBush001
@PlayerBush001 Год назад
In order to change the players camera position, you simply need to have a second camera in your scene (that doesn't have a render texture on it) that you toggle on. Then if you were to use my player follower script, but reference the 'playerApi,get tracking data (head)' instead of 'playerApi, position and rotation', then you would have a basic third person camera. It wouldn't account to many things like zooming, obstacle avoidance or anything, but it would work. also, it isn't much of a vr feature either... That being said, if you have like $5 to spare, there is a really good asset made by vowgan that covers this and much more (vowgan.booth.pm/items/1932757). Literally anything you would need, so much so that whenever you see a third person camera in vrchat, they are probably just using his asset. I know I would instead of making my own Hope that helps ^^
@gfrednohomo6934
@gfrednohomo6934 2 года назад
Hey um so i cant tell if thats a bot or wtheck...
@PlayerBush001
@PlayerBush001 2 года назад
It's either a bot or copypasta. Seen them a couple of times, with one even spamming the exact same messages from 6 different accounts. The translation is positive, but kinda random and any complements they do have are really generic
@gfrednohomo6934
@gfrednohomo6934 2 года назад
Compliments are compliments ig 🤷‍♂️
Далее
Inside Out 2: BABY JOY VS SHIN SONIC
00:19
Просмотров 5 млн
The Obscure Lore Of Larva
30:33
Просмотров 1,4 млн
This creepy Alpha Minecraft channel only LIVESTREAMS
28:14
How to Optimize your VRChat World INSTANTLY
6:34
Просмотров 12 тыс.
The biggest lie in video games
15:18
Просмотров 1,9 млн
Respawn Objects | VRChat Udon Tutorial
13:41
Просмотров 3,6 тыс.
Create an Automatic Door - Udon / VRChat SDK3.0
17:00
how to make an object show animation!
15:38
Просмотров 302 тыс.
Easy VRChat AV3 World Drops!
29:31
Просмотров 9 тыс.