Class ForceReinitPhysBonesHook
When domain reload is disabled, the VRChat physbones gizmo can leave outdated data in the VRCPhysBone component when entering play mode. Force reinitialize the components to work around this issue.
Note that we only do this when entering play mode, as this is runtime state, not serialized state.
public class ForceReinitPhysBonesHook : IVRCSDKPreprocessAvatarCallback
- Inheritance
-
ForceReinitPhysBonesHook
Properties
callbackOrder
public int callbackOrder { get; }
Property Value
Methods
OnPreprocessAvatar(GameObject)
public bool OnPreprocessAvatar(GameObject avatarGameObject)
Parameters
avatarGameObject
GameObject