# "Get Component Bounds" not returning correct bounds on diagonally rotated mesh

**URL:** <https://forums.unrealengine.com/t/get-component-bounds-not-returning-correct-bounds-on-diagonally-rotated-mesh/483469>\
**Category:** Asset Creation\
**Tags:** bounding-box, unreal-engine, bounds, question\
**Created:** [May 18, 2021, 8:29am UTC](https://forums.unrealengine.com/t/get-component-bounds-not-returning-correct-bounds-on-diagonally-rotated-mesh/483469 "2021-05-18T08:29:06Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [September 23, 2025, 8:03pm UTC](https://forums.unrealengine.com/t/get-component-bounds-not-returning-correct-bounds-on-diagonally-rotated-mesh/483469/4 "2025-09-23T20:03:35Z")

</div>

> [@Oriented bounding box from GetLocalBounds](https://forums.unrealengine.com/t/oriented-bounding-box-from-getlocalbounds/241396):
>
> Hello, Rendering an (axis aligned) boundingbox using getcomponentbounds works nicely (below in green). To visualize my target-rectangle (red lines) I’m trying to get it a bit more tight by making an oriented boundingbox, using GetLocalBounds and rotating it (below in yellow). However as is seen in the image, the yellow box doesn’t encompass the mesh, it is missing some offset. Any idea where to get that offset?

---

_[View the full topic](https://forums.unrealengine.com/t/get-component-bounds-not-returning-correct-bounds-on-diagonally-rotated-mesh/483469)._
