Sticky Pickup [VRChat / Udon]
- Normal Edition0 JPY
- Supporter Edition300 JPY
- Supporter+ Edition1,000 JPY
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.0 Reset and Optimization Update https://github.com/staubrein/StickyPickup/releases/tag/v1.2.0 Version 1.1.2: StickyPickupRemote Update https://github.com/staubrein/StickyPickup/releases/tag/v1.1.2 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
WHATS INCLUDED?
- Full UdonSharp Source code - Example Prefabs