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

change! (VRM Animation): change lookAt control method #456

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

0b5vr
Copy link
Contributor

@0b5vr 0b5vr commented Nov 17, 2023

VRMアニメーションにおいて、lookAtの制御をモデル空間の位置からローカル空間の回転に変更しました。これは破壊的変更です。

この変更により、仕様内でモデル空間について定義をする必要はなくなったため、該当するセクションを削除しました。

また、本PRには、仕様を明確にするためのいくつかの小さな文言変更も含まれます。

@0b5vr 0b5vr added the Animation VRMC_vrm_animation label Nov 17, 2023
@0b5vr 0b5vr requested a review from ousttrue November 17, 2023 05:07
@0b5vr 0b5vr self-assigned this Nov 17, 2023
BREAKING CHANGE: lookAt control method is now local rotation instead of model space position

The definition of model space is no longer needed so I removed the section

This commit also contains several minor improvements which clarifies the spec
0b5vr added a commit to pixiv/three-vrm that referenced this pull request Nov 20, 2023
…model space translation

See: vrm-c/vrm-specification#456

transfer quaternion to VRMLookAt yaw-pitch using VRMLookAtQuaternionProxy (does it look good?)
@0b5vr
Copy link
Contributor Author

0b5vr commented Nov 20, 2023

以下、2FPSのデータで申し訳ないですが、本PRの仕様で、Humanoid (rightUpperArm90度を下げる)・Expression (Happy)・LookAt (左を90度向く)が含まれたアニメーションです。

test.vrma.zip

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.

👍

@0b5vr 0b5vr merged commit d4227cb into vrm-c:master Dec 4, 2023
@0b5vr 0b5vr deleted the lookat-rotation branch December 4, 2023 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Animation VRMC_vrm_animation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants