Skip to main content

fixSkinnedBbox

Typeboolean
Defaultfalse

Sometimes, some rigged model has the wrong bounding box that when displaying on three.js (usually converted glTF model from Sketchfab)
Enabling this option can resolve that issue by recalculating bounding box size with the influence of the skeleton weight.

Example

fixSkinnedBbox: false (default)

{
src: "/egjs-view3d/model/meshopt/trex.glb",
fixSkinnedBbox: false
}

fixSkinnedBbox: true

{
src: "/egjs-view3d/model/meshopt/trex.glb",
fixSkinnedBbox: true
}