Skip to content

Commit

Permalink
docs: Update TODO of migration guide
Browse files Browse the repository at this point in the history
Add links to VRMHumanoid example and docs

This commit also improves line readability
  • Loading branch information
0b5vr authored Oct 25, 2024
1 parent dfdddd6 commit c5f1f5c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/migration-guide-1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,26 +152,20 @@ If public demand is high enough, we will consider having a utility function that
### Normalized Human Bones

From VRM1.0, VRM models can have “non-normalized” orientations for each human bone.

Due to this change, we introduce a feature to access “normalized” human bones to maintain compatibility between models with different bone orientations.

Normalized human bones have identity orientation (`[0, 0, 0; 1]` in quaternion) in its rest pose.

Almost all members of `VRMHumanoid` existed in v0.x were deprecated.

We now have members to access raw (original) human bones and normalized human bones instead.

For example, you can get a `THREE.Object3D` of a human bone by either `VRMHumanoid.getRawBoneNode` or `VRMHumanoid.getNormalizedBoneNode`.

Normalized human bones are proxy objects of raw human bones.

Operations applied to normalized human bones are automatically synced to raw human bones upon `VRM.update` or `VRMHumanoid.update`.

If you don’t need this behavior, set `VRMHumanoid.autoUpdateHumanBones` to `false`.

See the example: `TODO`
See the example: https://github.com/pixiv/three-vrm/blob/bb91a237a743c31dfa3f05ccb7a285469d54bd30/packages/three-vrm/examples/bones.html#L124-L126

See the documentation: `TODO`
See the documentation: https://pixiv.github.io/three-vrm/packages/three-vrm/docs/classes/VRMHumanoid.html

### VRMSchema.HumanoidBoneName

Expand Down

0 comments on commit c5f1f5c

Please sign in to comment.