Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove root transform feature on merge phys bone #62

Closed
anatawa12 opened this issue Mar 23, 2023 · 2 comments
Closed

remove root transform feature on merge phys bone #62

anatawa12 opened this issue Mar 23, 2023 · 2 comments
Milestone

Comments

@anatawa12
Copy link
Owner

No description provided.

@anatawa12 anatawa12 added this to the v0.3.0 milestone Mar 23, 2023
@anatawa12 anatawa12 changed the title delete root transform on merge bone delete root transform on merge phys bone Mar 23, 2023
@anatawa12 anatawa12 changed the title delete root transform on merge phys bone remove root transform feature on merge phys bone Apr 18, 2023
@anatawa12
Copy link
Owner Author

anatawa12 commented Apr 18, 2023

独自のroot transformを指定する機能は複雑で、軽量化の効能が低いと判断されたため、削除されました。
その代わり、親boneの直下のボーンすベてMergePhysBoneした場合にその親boneを再利用するようにしました。
また、遠いPhysBoneで相対位置が固定されている場合を想定し、Make Children of Meオプションを追加しました。これを使用すると、各PhysBoneを相対位置、角度を(できる限り)保持した状態で MergePhysBone の子に移動するようになります。

The feature to set a root transform was removed because it was too complex and not lightweight enough.
Instead, the parent bone is reused (instead of creating PhysBoneRoot GameObject) when all bones directly below the parent bone are PhysBones which will be merged to one PhysBone.
In addition, the option Make Children of Me has been added in case the relative position is fixed for PhysBones.
This will move each PhysBone to a child of MergePhysBone while preserving (as much as possible) its relative position and angle.

@anatawa12
Copy link
Owner Author

Implemented by #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant