Profile Picturepsychloor
$3+

VRChat UdonSharp Magnet

0 ratings
Add to cart

VRChat UdonSharp Magnet

$3+
0 ratings

UdonSharp script for VRChat Udon that allows you to place an attachment point on various pickups and then let them attach to various colliders snapping themselves onto it. Once attached to something i'll keep a Parent <> Child relationship without actually parenting to it

Can be customized for specific colliders and collision layers or attach to anything with colliders.
Can also be thrown around and check attachment on collision.

By default it only checks if it should snap when you drop it

Package includes a quick example scene

Needs objectsync, vrcpickup, rigidbody and a collider at least along with the udonbehaviour on the pickup that can be attached to various things.
Then add a child object and make sure the Forward/Positive Z(Blue) axis points to the direction of where it should attach from and use it as attachment point on the pickup

$
Add to cart
0 sales
Copy product URL