new item model and interactions

person can hold item now. Global can give item to person.
This commit is contained in:
Nikolai Fesenko
2025-08-18 01:33:54 +02:00
parent a62d2e29bc
commit 7ba255334d
16 changed files with 392 additions and 6 deletions

217
Blends/Items/Food/food.gltf Normal file
View File

@@ -0,0 +1,217 @@
{
"asset":{
"generator":"Khronos glTF Blender I/O v4.5.47",
"version":"2.0"
},
"scene":0,
"scenes":[
{
"name":"Scene",
"nodes":[
0,
1
]
}
],
"nodes":[
{
"mesh":0,
"name":"Cube"
},
{
"mesh":1,
"name":"Text",
"scale":[
0.5714878439903259,
0.5714878439903259,
0.5714878439903259
]
}
],
"materials":[
{
"doubleSided":true,
"name":"Material",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.3867591321468353,
0.3540330231189728,
0.8011000156402588,
1
],
"metallicFactor":0,
"roughnessFactor":0.5
}
},
{
"doubleSided":true,
"name":"Material.001",
"pbrMetallicRoughness":{
"baseColorFactor":[
0.800000011920929,
0.800000011920929,
0.800000011920929,
1
],
"metallicFactor":0,
"roughnessFactor":0.5
}
}
],
"meshes":[
{
"name":"Cube",
"primitives":[
{
"attributes":{
"POSITION":0,
"NORMAL":1,
"TEXCOORD_0":2
},
"indices":3,
"material":0
}
]
},
{
"name":"f",
"primitives":[
{
"attributes":{
"POSITION":4,
"NORMAL":5,
"TEXCOORD_0":6
},
"indices":7,
"material":1
}
]
}
],
"accessors":[
{
"bufferView":0,
"componentType":5126,
"count":168,
"max":[
1.0715641975402832,
0.07224392890930176,
1.0715641975402832
],
"min":[
-1.0715641975402832,
-0.7519297003746033,
-1.0715641975402832
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5126,
"count":168,
"type":"VEC3"
},
{
"bufferView":2,
"componentType":5126,
"count":168,
"type":"VEC2"
},
{
"bufferView":3,
"componentType":5123,
"count":852,
"type":"SCALAR"
},
{
"bufferView":4,
"componentType":5126,
"count":512,
"max":[
1.3956226110458374,
0.17762300372123718,
0.31090247631073
],
"min":[
-1.3473774194717407,
0.1200113594532013,
-0.38909757137298584
],
"type":"VEC3"
},
{
"bufferView":5,
"componentType":5126,
"count":512,
"type":"VEC3"
},
{
"bufferView":6,
"componentType":5126,
"count":512,
"type":"VEC2"
},
{
"bufferView":7,
"componentType":5123,
"count":3060,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":2016,
"byteOffset":0,
"target":34962
},
{
"buffer":0,
"byteLength":2016,
"byteOffset":2016,
"target":34962
},
{
"buffer":0,
"byteLength":1344,
"byteOffset":4032,
"target":34962
},
{
"buffer":0,
"byteLength":1704,
"byteOffset":5376,
"target":34963
},
{
"buffer":0,
"byteLength":6144,
"byteOffset":7080,
"target":34962
},
{
"buffer":0,
"byteLength":6144,
"byteOffset":13224,
"target":34962
},
{
"buffer":0,
"byteLength":4096,
"byteOffset":19368,
"target":34962
},
{
"buffer":0,
"byteLength":6120,
"byteOffset":23464,
"target":34963
}
],
"buffers":[
{
"byteLength":29584,
"uri":"food.bin"
}
]
}