# object / actor dimensions from its transform

**URL:** <https://forums.unrealengine.com/t/object-actor-dimensions-from-its-transform/2270785>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [January 11, 2025, 5:44am UTC](https://forums.unrealengine.com/t/object-actor-dimensions-from-its-transform/2270785 "2025-01-11T05:44:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![barbrian0723](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@barbrian0723](https://forums.unrealengine.com/u/barbrian0723)\
**Post date:** [January 11, 2025, 5:44am UTC](https://forums.unrealengine.com/t/object-actor-dimensions-from-its-transform/2270785/1 "2025-01-11T05:44:02Z")

</div>

hi  
is there any way / what is the easiest way to get an actor’s dimensions from its transform  
for example, if i want to create a border or know the border of an object / actor based on its world location and its transform, is there an easy way to do this or must one use a trace function to determine this

thanks

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 11, 2025, 8:13am UTC](https://forums.unrealengine.com/t/object-actor-dimensions-from-its-transform/2270785/2 "2025-01-11T08:13:16Z")

</div>

Hey there @barbrian0723! The answer depends how uniform the object is. What would be the use case? Would the meshes be complex meshes or something simple like a cube?

---

<div class="post-metadata">

**Author:** ![barbrian0723](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@barbrian0723](https://forums.unrealengine.com/u/barbrian0723)\
**Post date:** [January 11, 2025, 8:14am UTC](https://forums.unrealengine.com/t/object-actor-dimensions-from-its-transform/2270785/3 "2025-01-11T08:14:41Z")

</div>

just need simple dimensions of the object

seems the way to go is to trace out its dimensions

aggregated size would be fine

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 11, 2025, 8:19am UTC](https://forums.unrealengine.com/t/object-actor-dimensions-from-its-transform/2270785/4 "2025-01-11T08:19:52Z")

</div>

If it doesn’t need to be so precise, getting the bounding box would work out:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/a/32a3cb655c2e597da69c8b7ed03129934d7eaca3.png)

Though with complex, convex, or oblong shapes this could be drastically off. For more complex objects, you could get away with them being defined unit sizes and work with that, but it suffers the same issue as bounding boxes if they can be literally any shape.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 10, 2025, 8:20am UTC](https://forums.unrealengine.com/t/object-actor-dimensions-from-its-transform/2270785/5 "2025-02-10T08:20:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
