Hi,
Sorry for asking sceneform related bug here but since the repo is archived didn't have other options.
This is related to the sceneform related bug google-ar/sceneform-android-sdk#1039
My question is there a way to directly use filament to find the bones position that are exported in the model and attach a another Model at that position.
Using FilamentAsset from sceneform i was able to check the entity names which included the Bones present in the model, but is there a way to attach nodes to this bone.
The text was updated successfully, but these errors were encountered:
The Bones are not the child nodes of Renderable. So it is not possible. In Sceneform the renderable could be set on a SkeletonNode which provide with the bone information as well and using setAttachment we could connect a different renderable to that bone position.
In the gltfio library, the mapping from joint nodes to renderables is only used in Animator::updateBoneMatrices(), and yes this mapping is immutable right now, and not exposed to Java clients. (C++ clients can peek at the raw cgltf structs.)
Note that the use of gltfio::Animator is optional; if desired you could call RenderableManager::setBones() and manually pass in any matrices you wish.
To summarize, this sounds like this is a feature request that would allow SkinVector to be readable and modifiable, both for gltfio::FilamentInstance and for gltfio::FilamentAsset.
Hi,
Sorry for asking sceneform related bug here but since the repo is archived didn't have other options.
This is related to the sceneform related bug google-ar/sceneform-android-sdk#1039
My question is there a way to directly use filament to find the bones position that are exported in the model and attach a another Model at that position.
Using FilamentAsset from sceneform i was able to check the entity names which included the Bones present in the model, but is there a way to attach nodes to this bone.
The text was updated successfully, but these errors were encountered: