physics test2

This commit is contained in:
2025-10-16 09:53:52 +03:00
parent a60d94fe66
commit 49e0486277
12 changed files with 283 additions and 169 deletions
Binary file not shown.
+88 -88
View File
@@ -27,14 +27,10 @@
},
{
"mesh":1,
"name":"tunnel"
},
{
"mesh":2,
"name":"wall",
"rotation":[
0,
0.7071068286895752,
-0.7071068286895752,
0,
0.7071068286895752
],
@@ -45,13 +41,17 @@
]
},
{
"mesh":3,
"mesh":2,
"name":"door",
"translation":[
0,
0,
-0.44999998807907104
]
},
{
"mesh":3,
"name":"tunnel"
}
],
"materials":[
@@ -83,7 +83,7 @@
]
},
{
"name":"Curve.003",
"name":"Curve.005",
"primitives":[
{
"attributes":{
@@ -97,7 +97,7 @@
]
},
{
"name":"Curve.005",
"name":"Curve.008",
"primitives":[
{
"attributes":{
@@ -111,7 +111,7 @@
]
},
{
"name":"Curve.008",
"name":"Curve.004",
"primitives":[
{
"attributes":{
@@ -176,73 +176,39 @@
{
"bufferView":4,
"componentType":5126,
"count":12,
"count":4,
"max":[
0.5994362831115723,
0.6900395154953003,
0.40000441670417786
-0.04999993368983269,
0.7055734992027283,
0.5996518731117249
],
"min":[
-0.6005637049674988,
0.010013699531555176,
-0.3999955654144287
-0.05000001937150955,
-0.03282167762517929,
-0.600348174571991
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":12,
"count":4,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":12,
"count":4,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":18,
"type":"SCALAR"
},
{
"bufferView":8,
"componentType":5126,
"count":4,
"max":[
0.600348174571991,
0.7055734992027283,
-0.04999995976686478
],
"min":[
-0.5996518731117249,
-0.03282167762517929,
-0.04999999329447746
],
"type":"VEC3"
},
{
"bufferView":9,
"componentType":5126,
"count":4,
"type":"VEC3"
},
{
"bufferView":10,
"componentType":5126,
"count":4,
"type":"VEC2"
},
{
"bufferView":11,
"componentType":5123,
"count":6,
"type":"SCALAR"
},
{
"bufferView":12,
"bufferView":8,
"componentType":5126,
"count":40,
"max":[
@@ -258,22 +224,56 @@
"type":"VEC3"
},
{
"bufferView":13,
"bufferView":9,
"componentType":5126,
"count":40,
"type":"VEC3"
},
{
"bufferView":14,
"bufferView":10,
"componentType":5126,
"count":40,
"type":"VEC2"
},
{
"bufferView":15,
"bufferView":11,
"componentType":5123,
"count":60,
"type":"SCALAR"
},
{
"bufferView":12,
"componentType":5126,
"count":12,
"max":[
0.5994362831115723,
0.6900395154953003,
0.40000441670417786
],
"min":[
-0.6005637049674988,
0.010013699531555176,
-0.3999955654144287
],
"type":"VEC3"
},
{
"bufferView":13,
"componentType":5126,
"count":12,
"type":"VEC3"
},
{
"bufferView":14,
"componentType":5126,
"count":12,
"type":"VEC2"
},
{
"bufferView":15,
"componentType":5123,
"count":18,
"type":"SCALAR"
}
],
"bufferViews":[
@@ -303,74 +303,74 @@
},
{
"buffer":0,
"byteLength":144,
"byteLength":48,
"byteOffset":840,
"target":34962
},
{
"buffer":0,
"byteLength":144,
"byteOffset":984,
"target":34962
},
{
"buffer":0,
"byteLength":96,
"byteOffset":1128,
"target":34962
},
{
"buffer":0,
"byteLength":36,
"byteOffset":1224,
"target":34963
},
{
"buffer":0,
"byteLength":48,
"byteOffset":1260,
"target":34962
},
{
"buffer":0,
"byteLength":48,
"byteOffset":1308,
"byteOffset":888,
"target":34962
},
{
"buffer":0,
"byteLength":32,
"byteOffset":1356,
"byteOffset":936,
"target":34962
},
{
"buffer":0,
"byteLength":12,
"byteOffset":1388,
"byteOffset":968,
"target":34963
},
{
"buffer":0,
"byteLength":480,
"byteOffset":1400,
"byteOffset":980,
"target":34962
},
{
"buffer":0,
"byteLength":480,
"byteOffset":1880,
"byteOffset":1460,
"target":34962
},
{
"buffer":0,
"byteLength":320,
"byteOffset":2360,
"byteOffset":1940,
"target":34962
},
{
"buffer":0,
"byteLength":120,
"byteOffset":2680,
"byteOffset":2260,
"target":34963
},
{
"buffer":0,
"byteLength":144,
"byteOffset":2380,
"target":34962
},
{
"buffer":0,
"byteLength":144,
"byteOffset":2524,
"target":34962
},
{
"buffer":0,
"byteLength":96,
"byteOffset":2668,
"target":34962
},
{
"buffer":0,
"byteLength":36,
"byteOffset":2764,
"target":34963
}
],