mirror of
https://codeberg.org/schrottkatze/mgd2-tram-championships.git
synced 2025-07-02 01:27:39 +00:00
COLLIDERSSSS!!!!!!!
This commit is contained in:
parent
7e531d42a8
commit
643a16f008
14 changed files with 541 additions and 33 deletions
BIN
assets/gltf/test.bin
Normal file
BIN
assets/gltf/test.bin
Normal file
Binary file not shown.
Binary file not shown.
237
assets/gltf/test.gltf
Normal file
237
assets/gltf/test.gltf
Normal file
|
@ -0,0 +1,237 @@
|
|||
{
|
||||
"asset":{
|
||||
"generator":"Khronos glTF Blender I/O v4.4.56",
|
||||
"version":"2.0"
|
||||
},
|
||||
"scene":0,
|
||||
"scenes":[
|
||||
{
|
||||
"extras":{
|
||||
"skein_extension_properties":{
|
||||
"enabled":1
|
||||
}
|
||||
},
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
0,
|
||||
1
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"extras":{
|
||||
"skein_two":[
|
||||
{
|
||||
"name":"TPCTarget",
|
||||
"selected_type_path":"mgd2_demonic_posession::TPCTarget"
|
||||
},
|
||||
{
|
||||
"name":"StaticColliderConfig",
|
||||
"selected_type_path":"mgd2_demonic_posession::game::scene::StaticColliderConfig",
|
||||
"mgd2_demonic_posession::game::scene::StaticColliderConfig":{
|
||||
"x":10.0,
|
||||
"y":5.0,
|
||||
"z":1.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"active_component_index":1,
|
||||
"skein":[
|
||||
{
|
||||
"mgd2_demonic_posession::TPCTarget":{}
|
||||
},
|
||||
{
|
||||
"mgd2_demonic_posession::game::scene::StaticColliderConfig":{
|
||||
"x":10.0,
|
||||
"y":5.0,
|
||||
"z":1.0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"mesh":0,
|
||||
"name":"Cube"
|
||||
},
|
||||
{
|
||||
"extras":{
|
||||
"skein_two":[
|
||||
{
|
||||
"name":"StaticColliderConfig",
|
||||
"selected_type_path":"mgd2_demonic_posession::game::scene::StaticColliderConfig",
|
||||
"mgd2_demonic_posession::game::scene::StaticColliderConfig":{
|
||||
"y":2.0,
|
||||
"z":2.0,
|
||||
"x":2.0
|
||||
}
|
||||
}
|
||||
],
|
||||
"active_component_index":0,
|
||||
"skein":[
|
||||
{
|
||||
"mgd2_demonic_posession::game::scene::StaticColliderConfig":{
|
||||
"x":2.0,
|
||||
"y":2.0,
|
||||
"z":2.0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"mesh":1,
|
||||
"name":"Cube.001",
|
||||
"rotation":[
|
||||
0,
|
||||
0.3594704866409302,
|
||||
0,
|
||||
0.9331565499305725
|
||||
],
|
||||
"translation":[
|
||||
0,
|
||||
1.5,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Cube.001",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2
|
||||
},
|
||||
"indices":3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name":"Cube",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":4,
|
||||
"NORMAL":5,
|
||||
"TEXCOORD_0":6
|
||||
},
|
||||
"indices":3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":24,
|
||||
"max":[
|
||||
5,
|
||||
0.5,
|
||||
2.5
|
||||
],
|
||||
"min":[
|
||||
-5,
|
||||
-0.5,
|
||||
-2.5
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":24,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":24,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5123,
|
||||
"count":36,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5126,
|
||||
"count":24,
|
||||
"max":[
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"min":[
|
||||
-1,
|
||||
-1,
|
||||
-1
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":24,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"componentType":5126,
|
||||
"count":24,
|
||||
"type":"VEC2"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":288,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":288,
|
||||
"byteOffset":288,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":192,
|
||||
"byteOffset":576,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":72,
|
||||
"byteOffset":768,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":288,
|
||||
"byteOffset":840,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":288,
|
||||
"byteOffset":1128,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":192,
|
||||
"byteOffset":1416,
|
||||
"target":34962
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":1608,
|
||||
"uri":"test.bin"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue