# Is there a way to detect how much weight is on an object

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-detect-how-much-weight-is-on-an-object/335854>\
**Category:** World Creation\
**Tags:** weight, unreal-engine, Physics, question\
**Created:** [October 20, 2015, 3:57am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-detect-how-much-weight-is-on-an-object/335854 "2015-10-20T03:57:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgd82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cgd82](https://forums.unrealengine.com/u/cgd82)\
**Post date:** [October 20, 2015, 3:57am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-detect-how-much-weight-is-on-an-object/335854/1 "2015-10-20T03:57:19Z")

</div>

My game design requires that the floor of the level can detect how much weight it is holding up (because if it gets too much weight it should collapse.)

I figure I could implement a poor solution by looping through all objects and adding up the weight of all objects at rest on the floor, but I am wondering if there is a better way (like is there a way to query the in-built physics system for how much force is being applied to the floor?

I would prefer a C++ answer, but would be willing to take a blueprint solution as well.

---

<div class="post-metadata">

**Author:** ![Toddhillerich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Toddhillerich](https://forums.unrealengine.com/u/Toddhillerich)\
**Post date:** [March 9, 2024, 9:52am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-detect-how-much-weight-is-on-an-object/335854/2 "2024-03-09T09:52:51Z")

</div>

Maybe make damage system where each object has a damage modifier based on size. Small medium and large with individual values. Use an overlap function to do the hit detection. Use a bool for break or collapse when the limit is reached. I believe this can be achieved in c and blueprint
