I’m attempting to recreate an old world of mine from before VRC updated to Unity 2018. In that world I had a deck of tarot cards that, upon pressing a button, would all spawn in the same place on the table then fan out and, thanks to some rigidbody settings, freeze in place to form a deck on a table. It essentially acted like its own shuffling system. This time around, I want to make sure the deck is shuffling properly. Here’s my needs for this process:
- Pressing a button will spawn/despawn the deck.
- Pressing a different button will shuffle the deck.
- Cards must be grabbable/moveable.
- Entire deck should be accessible to the player while deck is active. (I saw an example of a card game in udon# but the deck was placed out of bounds, and a card was pulled in bounds when a player pressed a button. I want the user to be able to select a card from any part of the deck, rather than receiving one card at a time.)
I’m also trying to figure out how to make the material on a button change so I can turn the button green when the target gameobject is active, then turn red when the gameobject is inactive. pretty simple, but i am not good at all with programming. math was my worst subject in school and programming is just formulas with words instead of numbers, which means i have an even worse time understanding Udon lmao. i apologize if these are stupid questions that have already been answered, i tried looking for solutions and found some similar situations but I have no idea how to take those Udon graphs and change them to suit my needs.
Thanks in advance!