PhysBone-Converter icon indicating copy to clipboard operation
PhysBone-Converter copied to clipboard

Converts PhysBones to DynamicBones to the best of my capability

PhysBone Converter

This tool will convert your PhysBones and PBColliders to DynamicBones and DBColliders.
Of course, it's not perfect but it does almost the inverse conversion of PhysBones.

Download here

window

How to use

Prerequisites: VRCAvatars SDK & Dynamic Bone OR Dynamic Bone Stub

Find the tool's window near the top left corner of Unity under
DreadTools > Utility > PhysBone Converter

1- Make sure that your avatar or root is correctly set as "Root".
2- Press Convert. Done!

You can optionally disable the "Auto" option for any setting and set your own value and curve.
This will be the same value across all DynamicBones

showcase

Potential Issues

Issue: DreadTools button doesn't appear on the top toolbar
Solution: Your project has a script error which prevents new scripts from loading. Check your console for errors and read them for details about what's causing them. Below are some common errors

Issue: Error: the type or namespace name 'DynamicBoneColliderBase' could not be found.
Solution: You either don't have Dynamic Bones or your dynamic bones version doesn't match the one this script is made for. This was made for 1.2.x as it's the most common version. Try using the Dynamic Bone Stub listed above instead

Issue: Error: The type or namespace name 'VRCPhysBoneCollider' could not be found
Issue: Error: 'VRCPhysBone' does not contain a definition for 'maxAngleXCurve'...
Solution: Both of these can be solved with importing the proper Avatars VRCSDK. Currently, the latest Avatars VRCSDK should work.

Issue: The Dynamic Bones aren't acting the same as how PhysBones were.
Sadly, Dynamic Bones don't function the same as PhysBones and have less features. As such, they will behave differently and in some uncommon cases even look broken in comparison. This may be improved with manual tweaking.