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

[1.0] Re-introduce SpringBone center #374

Merged
merged 3 commits into from
May 30, 2022
Merged

Conversation

0b5vr
Copy link
Contributor

@0b5vr 0b5vr commented May 30, 2022

Will close #370

Description

本PRは、VRM1.0向けにSpringBoneのcenterのシリアライズを再導入します。

centerは、当初アプリケーション側の需要に応じて導入される機能であり、これがモデルに対してシリアライズされている必要性は低いと考えられていました。
しかし、モデルの1ノードをcenterとすることによって、激しく揺れて欲しくないSpringBoneの揺れを抑える使い方がされていました。
これを踏まえ、VRM1.0仕様に対して、VRM0.0に存在したcenterのシリアライズを改めて導入します。

Points need review

  • リファレンス実装、コードが複雑になることを恐れて、centerについての説明を簡潔に片付けてしまいました。もう少し丁寧に説明すべきでしょうか……?

@0b5vr 0b5vr added documentation Improvements or additions to documentation schema SpringBone labels May 30, 2022
@0b5vr 0b5vr added this to the v1.0 milestone May 30, 2022
@0b5vr 0b5vr self-assigned this May 30, 2022
0b5vr added 2 commits May 30, 2022 20:17
I was considering including the center space implementation in the reference code but I judged it would make the code too complex
@0b5vr
Copy link
Contributor Author

0b5vr commented May 30, 2022

毎度改行コードがムズすぎる……
ファイルごとにLF・CRLFがバラバラになっちゃっていたり、doctocのところだけ入れ替わっちゃったり、大変な感じなので、あとでなんとかしたいですね。

Copy link
Contributor

@ousttrue ousttrue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

もともとコントローラー等で高速移動する場合の対策でした。
VRMの外にある empty ノードを、ゲーム等の進行にあわせてプログラム制御する想定。
部位ごとに揺れを減らすのに利用したいという方向性を受け入れ。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation schema SpringBone
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

VRMC_springBone.center について
2 participants