Sticky Pickup [VRChat / Udon / Sync]
This script lets you attach pickup able items on a set bone within a specified area. It will track the rotation of the item and the player to look as natural as possible.
It also works with Gravity !
There is also a synced version of the script inside the package to broadcast it to all other players in the world (including late joiners).
=== CHANGELOGS ===
Version 1.2.1 Return of the Remote
Version 1.2.0 Reset and Optimization Update
Version 1.1.2: StickyPickupRemote Update
Version 1.1.0: Big Sync Update with smoother transitions
=== SETUP ===
After VRCSDK3 for Worlds you'll have to get the latest version of UdonSharp and drop the Sticky Pickup package into your Unity project.
There are some example prefabs inside the package but you basically just have to put the script on the desired object (make sure it has the VRC Pickup Script on)
To put the script on the game object, you can either drag the .cs file on the Inspector and click the "Convert to UdonBehaviour" Button.
Or create a new UdonBehaviour Component and drag the .asset file into the "Program Source" field.
Set the Bone and Radius (the value is in world scale) around the Bone and you're done :3
=== TUTORIAL ===
=== WHY OWN NETWORK SYNC ===
=== TOS ===
Feel free to use and modify the script.
Please do not resell the script as it is or claim you'd be the author.
Credits are very welcomed but not necessary.
Thanks a lot for your support <3 Have fun with the script :3
(Nor the Awtter model, Bedroom or tablet are part of the Asset)
You'll get the Unity package containing all scripts and some example prefabs :3