There was the related discussion - Ray picking in SkinnedMesh
I believe it is enough just to add to your retarget function
(mesh as BABYLON.Mesh).refreshBoundingInfo(true)
Example - https://playground.babylonjs.com/?inspectorv2=true#H0IYZJ#18
There was the related discussion - Ray picking in SkinnedMesh
I believe it is enough just to add to your retarget function
(mesh as BABYLON.Mesh).refreshBoundingInfo(true)
Example - https://playground.babylonjs.com/?inspectorv2=true#H0IYZJ#18