File tree Expand file tree Collapse file tree 1 file changed +20
-10
lines changed
specification/VRMC_springBone_limit-1.0 Expand file tree Collapse file tree 1 file changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ glTF 2.0仕様に向けて策定されています。
133
133
134
134
### Extending Springs
135
135
136
- リミットは、 ` VRMC_springBone ` で定義されたスプリングに ` VRMC_springBone_limit ` 拡張を追加することで記述されます。
136
+ リミットは、 ` VRMC_springBone ` で定義されたジョイントに ` VRMC_springBone_limit ` 拡張を追加することで記述されます。
137
137
138
138
``` json
139
139
{
@@ -146,16 +146,26 @@ glTF 2.0仕様に向けて策定されています。
146
146
"specVersion" : " 1.0" ,
147
147
"springs" : [
148
148
{
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
+ }
155
163
}
156
- }
157
- }
158
- }
164
+ },
165
+ // ...
166
+ ]
167
+ },
168
+ // ...
159
169
],
160
170
// ...
161
171
}
You can’t perform that action at this time.
0 commit comments