showBoundingBox showing incorrect bounding box for glb root mesh

Hi there, @xiehangyun, and again thanks for your time.

Reviewing your example, I can see that, besides the collisionMeshes array, you’re introducing an additional oldPosition variable (that is joining the previously existent lastPosition and currentPosition).

Anyway, I’m going now to test your code with imported GLB models, that is indeed the goal for all this thing.

Nevertheless, as you can see in this evolutionised PG of yours, and stated in this other question of mine in the forum, it is just very strange and misleading (for me at least) how BJS is implementing the whole thing with bounding-boxes, ellipsoids and collisions.

Best regards.