Closed hamza-hajji closed 9 months ago
This issue was solved by making the Mesh collidable
new Mesh(viewer.scene, {
// Shaft
geometry: cubeGeometry,
material: cubeMaterial,
pickable: false,
collidable: true,
visible: true,
position: [0, 0, 0],
rotation: [0, 0, 0],
}),
Describe the bug In version 2.5.2-beta-23, creating a box with
buildBoxGeometry
yields the wrongaabb
valuesTo Reproduce Steps to reproduce the behavior:
aabb
Additionally, if I use scene.getAAB, I get different values. But
Xmax-Xmin
doesn't give 1.5, the width of the cube (Screenshot 3)Expected behavior The values of
aabb
are rightScreenshots