Expose PhysBone Collider (VRCPhysBoneCollider) to Udon
tracked
Thad Gyther
I love the newly added avatar dynamics to worlds! But I'm still missing the access to the PhysBone colliders in Udon (the whole class). I was surprised to see that you can access things like radius and height on contacts, but you can't do the same on PhysBone colliders. I would like to use them in conjunction, so it would be great if that feature could be added, too. In fact, I was wondering if it may just not be included by accident.
For now I guess I can workaround that with animations, but direct access would certainly make things easier!
Log In
Dexvoid
marked this post as
tracked
Thad Gyther
So I just found out that setting the radius and height on contacts doesn't actually have an effect in game. On top of that it can't be animated. I also found out that while it seems to be possible to animate PhysBone collider dimensions in editor, the animations don't really work in game either. So for both cases (contacts and PhysBone colliders) there is currently no way to dynamically and independently set radius and height in game. The only thing possible right now is uniformly scaling the object. Because even if the object is scaled in just the height direction of the capsule, the radius will change, too.
Fax
Thad Gyther: Please submit this issue as a separate post! Ensure that the
Is Animated
is on.Dexvoid
Thad Gyther If you're updating contacts from Udon, make sure you're calling
ApplyConfigurationChanges()
after you've set your properties, as documented here: https://creators.vrchat.com/common-components/contacts/#udon-access-in-worldsThad Gyther
Dexvoid That helped for updating the contact senders, thanks! I was actually looking for the documentation and then thought it doesn't exist after I found nothing in the "Worlds" category. I didn't see that there was a "Common Components" category. My bad.
Thad Gyther
Fax Is it me or do PhysBone Colliders don't have an Is Animated property? Just the PhysBones themselves as far as I see.
Fax
Thad Gyther: Ah, you're right! IsAnimated is for avatars only, my mistake.
Was Dexvoid able to resolve your issue?
Thad Gyther
Fax That solved my comment about contacts, yes. The main feature request about Udon configurable PhysBone Colliders remains. The animation issue (for the workaround) also remains. I made a canny for that, too: https://feedback.vrchat.com/udon/p/animating-world-physbone-collider-radius-height-doesnt-work