Skip to content

Commit

Permalink
Merge pull request #376 from ousttrue/wip/v0.121
Browse files Browse the repository at this point in the history
WIP v0.121
  • Loading branch information
ousttrue authored Mar 6, 2024
2 parents c6a6ce9 + 58dd290 commit f06457f
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 8 deletions.
55 changes: 55 additions & 0 deletions docs/api/humanoid/humanoid_animation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Humanoid Animation

VRM にモーションを適用する方法

## Unity の humanoid として使う

UnityEngine.Animator に AnimationType が Humanoid の Avatar をセットします。

:::tip
`vrm-0.x` `vrm-1.0` 共に `UnityEngine.Animator` に AnimationType が Humanoid の Avatar を セットアップ済みです。
:::

詳細は Unity を参照してください。

https://docs.unity3d.com/ja/2021.3/Manual/ConfiguringtheAvatar.html

## Transform を操作する

### humanoid bone の回転をコピーする

```cs
foreach(var bone in bones)
{
}
```

:::info
骨格とモーションの初期姿勢が一致するときに可能です。
:::

:::tip vrm-0.x と T-Pose 向けモーション

vrm-0.x はスケルトンが正規化されているので、
初期姿勢が TPose のモーションを適用できます。

:::

:::danger vrm-1.0 は正しく動作しない場合があります

モデルによって異なることに注意してください。
:::

:::warning bvh は vrm-0.x と互換性があるものもあります
BVH の初期姿勢は特に決まっていません。
:::

### vrm-1.0 ControlRig で変換コピーする

![img](../ControlRig.png)

[ControlRig](/api/vrm1_controlrig)

:::tip 正規化さていないスケルトン/モーションを変換できます。

:::
6 changes: 6 additions & 0 deletions docs/api/humanoid/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import DocCardList from '@theme/DocCardList';

# Humanoid

<DocCardList />

30 changes: 24 additions & 6 deletions docs/release/112/v0.120.0.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
# v0.120 CapsuleColliderの修正
# v0.120.0 CapsuleCollider の修正

## 1.0 SpringBone
https://github.com/vrm-c/UniVRM/milestone/83?closed=1

:::info vrm-1.0 SpringBone の CapsuleCollider が正しく動作するようになりました
- [[\#2254](https://github.com/vrm-c/UniVRM/pull/2254)] ロジックバグ。normalize 必用ぽい
:::

:::info vrm-1.0 SpringBone Inspector の表示を改善しました

- [[\#2253](https://github.com/vrm-c/UniVRM/pull/2253)] [vrm10] SpringBone の inspector 修正など
- ColliderGroup 名の list 表示

![img](https://private-user-images.githubusercontent.com/68057/308129082-76eea0d3-a3d5-44cf-9b34-206f80e8678c.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk3MDc0NTgsIm5iZiI6MTcwOTcwNzE1OCwicGF0aCI6Ii82ODA1Ny8zMDgxMjkwODItNzZlZWEwZDMtYTNkNS00NGNmLTliMzQtMjA2ZjgwZTg2NzhjLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA2VDA2MzkxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3Mjc0MGRkOGY4YmQ2Y2JlM2ExMTY1NmZkMzZlZTg4ODkxNWMzNTI3YjQ4MzlhMTk3ODQ1YWEzZGYyYzdiNzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qOKBg78yLsiQOw82bCpYKGiY0YvTP64tIt_r5crDyj0)

## VRM-Animation
:::

:::info VRM-Animation specVersion

- [[\#2251](https://github.com/vrm-c/UniVRM/pull/2251)] VRMC_vrm_animation.specVersion = "1.0"

:::

:::info VRM-1.0 FirstPerson の修正

- [[\#2252](https://github.com/vrm-c/UniVRM/pull/2252)] [VRM10] FirstPerson の修正
- auto で headless を作成する必要が無かった場合の挙動を修正
- headless の Destroy

:::

## その他

- [[\#2256](https://github.com/vrm-c/UniVRM/pull/2256)] Editorスクリプトの配置間違い
- [[\#2256](https://github.com/vrm-c/UniVRM/pull/2256)] Editor スクリプトの配置間違い
- [[\#2255](https://github.com/vrm-c/UniVRM/pull/2255)] version UniVRM-0.120.0
- [[\#2252](https://github.com/vrm-c/UniVRM/pull/2252)] [VRM10] FirstPerson の修正
- [[\#2245](https://github.com/vrm-c/UniVRM/pull/2245)] Add Humanoid as RequireComponent
- [[\#2247](https://github.com/vrm-c/UniVRM/pull/2247)] close gh pages

22 changes: 22 additions & 0 deletions docs/release/112/v0.121.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# v0.121.0 🚧WIP🚧 Fix MeshUtility

https://github.com/vrm-c/UniVRM/milestone/84

:::info MeshUtility の修正
https://github.com/vrm-c/UniVRM/issues/2248
:::

:::note TODO Ability to freeze pose with GLTF export

- https://github.com/vrm-c/UniVRM/issues/2041
:::

:::note TODO ボーン変形を持たない SkinnedMeshRenderer を VRM1.0 でエクスポートするとローカル座標が反映されない

- https://github.com/vrm-c/UniVRM/issues/2119
:::

:::note TODO

- https://github.com/vrm-c/UniVRM/issues/2169
:::
4 changes: 3 additions & 1 deletion docs/release/index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# UniVRM Version

import DocCardList from '@theme/DocCardList';
import DocCardList from "@theme/DocCardList";

[latest](/release/112/v0.120.0/)

<DocCardList />

Expand Down
11 changes: 10 additions & 1 deletion sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ const sidebars: SidebarsConfig = {
link: { type: "doc", id: "api/vrm1_load" },
items: [
{ type: "doc", id: "api/vrm1_migration" },
{ type: "doc", id: "api/vrm1_controlrig" },
],
},
"vrma/univrm-vrma/vrma-import",
Expand Down Expand Up @@ -355,6 +354,16 @@ const sidebars: SidebarsConfig = {
{ type: "doc", id: "api/0_106_spring_manual_update" },
],
},
{
type: "category",
label: "Humanoid",
link: { type: "doc", id: "api/humanoid/index" },
items: [
"api/humanoid/humanoid_animation",
"vrma/univrm-vrma/retarget",
{ type: "doc", id: "api/vrm1_controlrig" },
],
},
{
type: "category",
label: "Other",
Expand Down

0 comments on commit f06457f

Please sign in to comment.