Hi guys,
I’m trying to calculate the bounding box’s center of the TransformNode but it doesn’t seem to return what I expected. Can anyone please help?
Find center of root node | Babylon.js Playground (babylonjs.com)
Hi guys,
I’m trying to calculate the bounding box’s center of the TransformNode but it doesn’t seem to return what I expected. Can anyone please help?
Find center of root node | Babylon.js Playground (babylonjs.com)
you can simply use getHierarchyBoundingVectors
Thank @xiehangyun @MeshSlayer, both worked very well on my end. @MeshSlayer’s solution is more convenient to me.