Hi again, thanks for the replies.
Ah, it’s good to know that I can always fall back to Model and still use the Anim component.
I’m just using the engine. Trying to get to know it better, how it works below the surface, enticed by its MIT license.
@Leonidas That is precisely all I’m doing, yeah.
@yaustar I fear sharing the project is not worth a lot at all. The code I posted is really all there is to it, at this point. I’ve registered the asset manually in a config.json of my own (explains the weird asset ID), which is loaded via the app.configure()
method. But I could of course be doing that in a wrong manner. Its entry looks like this
"100": {
"branch_id": "be45985e-a595-4c61-be70-eaef9e5823da",
"tags": [],
"name": "colt-saa.glb",
"revision": 1,
"preload": true,
"region": "eu-west-1",
"meta": {
"meshes": 10,
"meshInstances": 10,
"meshInstancesNames": [
"Colt SAA",
"Casing",
"Bullet",
"Casing.001",
"Bullet.001",
"Cylinder",
"Ejector",
"Gate",
"Hammer",
"Trigger"
],
"nodes": 11,
"skins": 0,
"vertices": 7454,
"triangles": 8414,
"attributes": {
"NORMAL": 10,
"POSITION": 10,
"TEXCOORD_0": 10
}
},
"type": "model",
"file": {
"hash": "463729041ee7b5cd282da51af059fdd6",
"size": 297508,
"filename": "colt-saa.glb",
"url": "./assets/colt-saa.glb"
},
"i18n": {},
"immutable_backup": "c61a5710-4a77-49b4-bf55-4587891e4b95",
"same_as_backup": 1,
"checkpoint_id": "bdb4e223-473d-4b26-ac66-83a1c859021f",
"id": "100"
}
I’ve tried changing type
to container
as well, with no luck.