I have a character at the top of the scene, with upper part body out of scene in rest pose.
But when I play animation like sleeping, the head was clipped.
It seems the clipping is calculated by rest position? Is it a bug? any workaround?
This is not a bug, because bounding boxes are computed on the cpu, while skinning animations are computed on the gpu.
When the skinned mesh is animated, the bounding box is not actually updated.
I don’t have any good ideas, so let’s see if anyone else knows anything.
However, if you’re just trying to solve the cropping problem, you can manually give a bounding box.
Calculating the animated bounding box in real time may not be acceptable performance-wise.