Skip to content

Commit

Permalink
Merge pull request #454 from vrm-c/update/20241003-2
Browse files Browse the repository at this point in the history
springbone
  • Loading branch information
ousttrue authored Oct 3, 2024
2 parents 44dc1f2 + aa0af63 commit 0215b26
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/springbone/scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

- `0.x` [SpringBone does not work correctly if you change the model size, for example scale (8,8,8). · Issue #2242 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2242)
- `0.x` [Scale が VRM Spring Bone に正しく適用されません · Issue #922 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/922)

- [SpringBone does not work correctly if you change the model size, for example scale (8,8,8). · Issue #2242 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2242)

6 changes: 6 additions & 0 deletions docs/api/springbone/startup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@

## 原点前向き以外で初期化

- [Imported VRM hair and clothes goes to the left no matter the position · Issue #2440 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2440)

## T-Pose 以外で初期化

- [After using the “FastSpringBoneReplacer.ReplaceAsync” interface, scaling the VRM model results in incorrect behavior. · Issue #2158 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2158)
- [\[0.77\]AsyncでランタイムロードしたモデルのScaleを1以上にするとSpringBoneの動作が怪しくなる · Issue #1115 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/1115)

17 changes: 17 additions & 0 deletions docs/api/springbone/vrm1/runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ public sealed class FastSpringBoneService : MonoBehaviour

Vrm10FastSpringboneRuntime と同じ job を使用します。シングルトンでは無いバージョンです。

- [UniVRM タイムライン…プレイモードとエデットモードで挙動が異なる · Issue #1971 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/1971)
- [\[1.0\] FastSpringBone Service does not disposed when I change the code while playing in editor · Issue #1567 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/1567)
### 特徴

- Unity job system で実装されている
Expand All @@ -83,6 +86,8 @@ public class Vrm10Runtime : IDisposable

## Runtime の操作

`v0.128.0`

### Runtime を取得する

Vrm10Instance から取得してください。
Expand Down Expand Up @@ -111,6 +116,8 @@ Vrm10Instance vrm;
vrm.Runtime.Springbone.RestoreInitialTransform();
```

- [SpringBoneの状態をリセットする機能 · Issue #2348 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2348)
### model level
#### 一時停止する

Expand All @@ -123,10 +130,16 @@ vrm.Runtime.Springbone.SetModelLevel(vrm.transform, new {
});
```

- [SpringBoneをアバターごとに停止、再開させる機能 · Issue #2347 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2347)
#### 外力

風など一時的な外からのフォースを加えます。

- [\[1.0\] SpringBone の外力(重力的な)を毎フレームアプリから制御できるインタフェース · Issue #1860 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/1860)
- [【VRM1Unity実行中にVRM10 Spring Boneの重力設定の変更をリアルタイムに画面に反映したい · Issue #1829 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/1829)
- [Wind effects · Issue #1732 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/1732)
#### Scaling のモード変更

```cs
Expand All @@ -136,6 +149,8 @@ vrm.Runtime.Springbone.SetModelLevel(vrm.transform, new {
});
```

- [スケールを大きくすると、SpringBoneの動きがおかしくなる。 · Issue #2403 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2403)
### joint level

stiffness, dragForce などのパラメーター変更を反映します。
Expand All @@ -148,3 +163,5 @@ Vrm10SpringBoneJoint joint;
vrm.Runtime.Springbone.SetModelLevel(joint.transform, joint.ToParams());
```

- [VRM1.0でエディターの再生中にSpringBobeの調整ができない · Issue #2410 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2410)
4 changes: 4 additions & 0 deletions docs/univrm/error/spring_bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SpringBone と正規化の組み合わせ問題

- [Spring Bone get rotated by 90 degrees when export · Issue #2277 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2277)
- [\[MeshBake\] offset 系のパラメータに bake を反映する · Issue #2369 · vrm-c/UniVRM · GitHub](https://github.com/vrm-c/UniVRM/issues/2369)

0 comments on commit 0215b26

Please sign in to comment.