Hello once again guys <3
I have a problem where I have to transfer predefined custom properties from blender and use it in babylon.
What is my logic ?
We have a entity which step on a plate, reads metadata of the plate, check if there is rotation or speed change and changes it depending on which plate it is stepped on.
Reading ‘extras’ from GLTF format
I already read that you can read GTLF format’s extras properties with ExtrasAsMetadata like so - https://playground.babylonjs.com/#10D6YT#398
But I do not see objects with ‘extras’ key to be exported neither my values coming with frose keys from custom properties field in blender when I view file in text format.
Parent theme: How to Access extras Property of Loaded GLTF
Reading ‘metadata’ from .babylon export
I have already read that you can export file as .babylon with Blender2Babylon exporter and access custom properties from blender as ‘metadata’ ( doesn’t work )
Using version of Blender - 3.2.2
Using version of Blender2Babylon:
3.3.-1 - error thrown - blender version is too old
2.93 - error thrown - Python: Traceback (most recent call last): File "/home/yordan/.config/blen - Pastebin.com
So… no luck for now.
Babylon tags
I have already read for babylon tags, which can serve as metadata, but you must declare it after you load the asset into the scene, which is what I don’t wanna to do.
There is what I have tried for the moment and after many head bangs and wasted time just decided to ask here, hopefully somebody would know what can I do in my case.
I am really gratefull for all responses !
Have a wondefrull day !
PS: Using Ubuntu 21.04