# \#obb

**URL:** https://discourse.threejs.org/tag/obb/1297.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Updating bounding box issue](https://discourse.threejs.org/t/updating-bounding-box-issue/51047)

<div class="topic-metadata">

**Author:** [@Nicorne](https://discourse.threejs.org/u/Nicorne)\
**Replies:** 1\
**Last updated:** [May 2, 2023, 4:15am UTC](https://discourse.threejs.org/t/updating-bounding-box-issue/51047 "2023-05-02T04:15:59Z")

</div>

Hi all, I create a bounding box using OBB (Oriented Bounding Box) and it works fine: But when I update the box position and rotation to match my object’s position and rotation it shifts the bounding box: What’s …

---

## [Accurate OBB for GLTF (Oriented Bounding Box)](https://discourse.threejs.org/t/accurate-obb-for-gltf-oriented-bounding-box/50942)

<div class="topic-metadata">

**Author:** [@Nicorne](https://discourse.threejs.org/u/Nicorne)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 7:24pm UTC](https://discourse.threejs.org/t/accurate-obb-for-gltf-oriented-bounding-box/50942 "2023-04-27T19:24:39Z")

</div>

Hi all, I am struggling with OBB and could really use a little help to get me going. For some reason, I cannot create an OBB with the right size, position and rotation: OBB → red box AABB → yellow box I am now fam…

---

## [Auto-generated Bounding Boxes for animated object](https://discourse.threejs.org/t/auto-generated-bounding-boxes-for-animated-object/43644)

<div class="topic-metadata">

**Author:** [@cabada](https://discourse.threejs.org/u/cabada)\
**Replies:** 2\
**Last updated:** [October 15, 2022, 11:44am UTC](https://discourse.threejs.org/t/auto-generated-bounding-boxes-for-animated-object/43644 "2022-10-15T11:44:54Z")

</div>

I’m looking for a particular demo I once saw online of an auto-generated bounding boxes system. (Sadly I lost the link) It was an animated Dinosaur (probably T-Rex) and it had a control menu to select the type of Boundi…

---

## [Calculate OBB from rotated cube-buffergeometry (manually)](https://discourse.threejs.org/t/calculate-obb-from-rotated-cube-buffergeometry-manually/42604)

<div class="topic-metadata">

**Author:** [@cabada](https://discourse.threejs.org/u/cabada)\
**Replies:** 6\
**Last updated:** [September 17, 2022, 11:02am UTC](https://discourse.threejs.org/t/calculate-obb-from-rotated-cube-buffergeometry-manually/42604 "2022-09-17T11:02:15Z")

</div>

Hello everyone, I’m trying to calculate an OBB manually from an unknown rotated Cube-BufferGeometry mesh. Since there is no setFromObject method for OBB, it must be done manually. My findings so far: For building an …

---

## [OBB Bounding-box 'growing' after rotation](https://discourse.threejs.org/t/obb-bounding-box-growing-after-rotation/41241)

<div class="topic-metadata">

**Author:** [@L00k](https://discourse.threejs.org/u/L00k)\
**Replies:** 0\
**Last updated:** [August 9, 2022, 7:54pm UTC](https://discourse.threejs.org/t/obb-bounding-box-growing-after-rotation/41241 "2022-08-09T19:54:28Z")

</div>

Hello everyone, I’m working on a little game to practice my Three.js skills. My goal is to load a bunch of objects from a GLTF file and draw bounding-boxes around the individual objects. After trying to apply the Axis-A…
