Skip to content

Commit 658ceed

Browse files
committed
feat: VRMC_springBone_limit, fix example JSON
1 parent 029c53b commit 658ceed

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

specification/VRMC_springBone_limit-1.0/README.ja.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ glTF 2.0仕様に向けて策定されています。
133133

134134
### Extending Springs
135135

136-
リミットは、 `VRMC_springBone` で定義されたスプリングに `VRMC_springBone_limit` 拡張を追加することで記述されます。
136+
リミットは、 `VRMC_springBone` で定義されたジョイントに `VRMC_springBone_limit` 拡張を追加することで記述されます。
137137

138138
```json
139139
{
@@ -146,16 +146,26 @@ glTF 2.0仕様に向けて策定されています。
146146
"specVersion": "1.0",
147147
"springs": [
148148
{
149-
"joints": [ 0, 1, 2 ],
150-
"extensions": {
151-
"VRMC_springBone_limit": {
152-
"cone": {
153-
"angle": 45.0,
154-
"rotation": [ 0.0, 0.0, 0.0, 1.0 ]
149+
"joints": [
150+
{
151+
"node": 0,
152+
"hitRadius": 0.25,
153+
"stiffness": 1.0,
154+
"dragForce": 0.4,
155+
"extensions": {
156+
"VRMC_springBone_limit": {
157+
"specVersion": "1.0-draft",
158+
"cone": {
159+
"angle": 45.0,
160+
"rotation": [ 0.0, 0.0, 0.0, 1.0 ]
161+
}
162+
}
155163
}
156-
}
157-
}
158-
}
164+
},
165+
// ...
166+
]
167+
},
168+
// ...
159169
],
160170
// ...
161171
}

0 commit comments

Comments
 (0)