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

MergePhysBone: Limit Yaw/PitchをTransformいじることで合わせる機能 #665

Closed
anatawa12 opened this issue Oct 30, 2023 · 5 comments · Fixed by #1291
Closed

MergePhysBone: Limit Yaw/PitchをTransformいじることで合わせる機能 #665

anatawa12 opened this issue Oct 30, 2023 · 5 comments · Fixed by #1291
Labels
enhancement New feature or request
Milestone

Comments

@anatawa12
Copy link
Owner

合わせること自体はできるからやってもいい気がする。
Skewだとだめなので、そこValidation

@anatawa12 anatawa12 added the enhancement New feature or request label Oct 30, 2023
@anatawa12
Copy link
Owner Author

スカートの調整とかでもっと自由にいじりたい気がするけど、AAOのスコープ外

@anatawa12
Copy link
Owner Author

MergeBoneでやってるBindPoseをいじることでTransformをいじる機能を汎用化してこれとかやりたい

@anatawa12 anatawa12 added this to the v1.8.0 milestone Sep 1, 2024
@anatawa12
Copy link
Owner Author

anatawa12 commented Sep 4, 2024

完全に勘違いしてたけどYaw/Pitchはlocal transformではなくPhysボーンの方向基準なのでRoll位しかできなさそう?

@anatawa12
Copy link
Owner Author

Quaternion.FromToRotation(Vector3.up, boneVector) * (Quaternion) quaternion.EulerXYZ(limitRotation * ((float) Math.PI / 180f))がright / upに向きが決められてるっぽいのでこれをいい感じにする必要がある

@anatawa12 anatawa12 mentioned this issue Sep 5, 2024
@anatawa12
Copy link
Owner Author

anatawa12 commented Oct 23, 2024

Fix Rollのうえでの特殊例として、次のボーンが(0, -x, 0)のばあいなんか計算がバグるので気を付けて実装する必要がある

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

Successfully merging a pull request may close this issue.

1 participant