[1342] Animating VRC PhyBone.Allow Grabbing no longer works
complete
lackofbindings
Animating VRC PhyBone.Allow Grabbing no longer works since the Unity 2022 beta.
A physbone was uploaded with allow grabbing off, and animated to enable it under certain conditions. In game it appears to remain non-grabbable regardless of animation.
The physbone in question is using version 1.0 in SDK 3.2.0. I have not tested extensively yet. Tomorrow I will make a clean test project to rule out other variables.
-- EDIT ---------------------------------------------------------
I can confirm that animating VRCPhyBone.AllowGrabbing no longer works since the Unity 2022 beta.
However this is consistent with in-editor behavior with SDK after they added the "other" option in the physbone grabbable setting.
In play mode the physbone grabbable setting will be stuck at "false" and any attempts to change it will be changed back to "false" by the animation (even though the animation was setting it to true aka 1).
Strangely the Unity 2022 beta has caused this behavior to now also be reflected in-game.
I have worked around this issue by changing all animations that used to animate VRCPhysBone.AllowGrabbing to VRCPhysBone.GrabFilter.allowSelf instead. Though if your goal is to not break legacy content then I think this should be fixed, starting with the bug in the SDK.
Log In
StormRel
complete
AirGamer
StormRel: This seems still bugged as of current Live, at least I have an avatar where animating grabbing didn't work correctly
Ronsterwars
With the latest beta update 1370 animating grabbing seems to still be broken.
It is also broken with the current live version of VRC.
I have a flower on my head that you can grab with phys bones and then eat.
I changed a few days ago the animation and added disable grabbing in the flower phys bone so you can't grab it while it is respawning on my head.
But now you can't grab the flower any more. Doesn't matter if you are on the beta or not.
I made a second upload where I only deleted the disable grabbing in the animation and it worked again.
When I test it in my Unity Editor it is working fine.
EDIT: A friend and me figured out the cause of the problem.
If you use Write Defaults for the animation that turns off grabbing and no animation that turns it back on, grabbing will always be turned off. Even if it was on by default.
I just added a turn on animation for grabbing and it works again both in the live and beta version of VRC.
ni1chigo2115
The update fixes collision for others, such as friend to self, but the collision setting for oneself does not seem to be functioning properly.
StormRel
Merged in a post:
[1357]Player colliders dosent work,
ni1chigo2115
i used marshmallow PB.
However, PB is supposed to support avatar colliders, but they do not show any response in the open beta.
It seems that the avatar default collider does not show any response when touched by my normal build friends or by myself.
Tony_Lewis
Anyа
this bug i didn't think would be such a big deal but the more i play the more systems i run into that i cant see or interact with as that rely on animating grabbing or collision its gotten annoying enough i might switch off the beta till this gets fixed. outside of this i haven't ran into any other issues, but this one has become massively annoying as there's multiple really popular prefabs that break from this bug so a pretty large amount of avatars are effected
ni1chigo2115
broken avatar collision
Anyа
ni1chigo2115: if there useing marshmallow its broken on the beta as it animates colision
Anyа
ya a quite a few prefabs and gimmicks i know use animating grabbing, was wondering why it wasn't working. if this stays the same might actually break the most systems of all the bugs with 2022 i know of as there's no alternative or fix to really get around it.
Anyа
i personally think having a way to animate Phys bone setting withought having to reload the component would be nice for alot of stuff or a way to reload it that doesn't reset its current state.
StormRel
tracked
anatawa12
This is also true for Allow Collision. Animating 'Allow Collision' is used by popular Japanese Gimmick ましゅまろPB so many Japanese affected by this problem.
Bunkerotter
anatawa12: I've noticed that too.
But for testing purposes, I have several "sets" of physbone components (needed to do it like that, because you can't animate the physbone parameters). And only the "default", which is the one active on upload, is affected.
Load More
→