# change mass value of actor while grabbing

**URL:** <https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410>\
**Category:** Programming & Scripting\
**Tags:** physics-handle, unreal-engine, Physics, Blueprint, question\
**Created:** [October 18, 2024, 3:05pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410 "2024-10-18T15:05:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![oolyvi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oolyvi/32/715655_2.png) [@oolyvi](https://forums.unrealengine.com/u/oolyvi)\
**Post date:** [October 18, 2024, 3:05pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/1 "2024-10-18T15:05:56Z")

</div>

How can I change the mass value of actor, while grabbing the actor from one place to another place with Physics Handle?  
I changed `mass_scale`, `linear_damping`, `angular_damping` values, but it doesn’t change anything at all. `linear_damping` and `angular_damping` affects while dropping with gravity, not grabbing.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 18, 2024, 3:17pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/2 "2024-10-18T15:17:21Z")

</div>

Actors do not have mass. Static mesh components do:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/e/6eeedd76a2aa6e48a12458c0bdb4eda83b9b093a.png)

Not sure I understood the issue. Afair, the Physics Handle overrides a lot of physics stuff _while_ it latches onto the component.

---

<div class="post-metadata">

**Author:** ![oolyvi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oolyvi/32/715655_2.png) [@oolyvi](https://forums.unrealengine.com/u/oolyvi)\
**Post date:** [October 18, 2024, 3:24pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/3 "2024-10-18T15:24:16Z")

</div>

yeap, I mean static mesh inside actor classes. I tried it and promote to variable `MassInKg` value, but it doesn’t work unfortunately

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 18, 2024, 3:27pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/4 "2024-10-18T15:27:19Z")

</div>

> [@oolyvi](#):
>
> I tried it and promote to variable `MassInKg` value, but it doesn’t work unfortunately

What does not work?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/1/1f19afe2628f986c6abd13c263c5c842ba7574dd.png)

---

<div class="post-metadata">

**Author:** ![oolyvi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oolyvi/32/715655_2.png) [@oolyvi](https://forums.unrealengine.com/u/oolyvi)\
**Post date:** [October 18, 2024, 3:31pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/5 "2024-10-18T15:31:06Z")

</div>

I did `set_mass_override_in_kg` function on my actor class itself, but doesn’t work and there is not any effect while grabbing. I changed mass values from this value btw

 ![Screenshot 2024-10-18 193025](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/7/c/87c2dbe3c82a2c6a50b3d3ca28ec2a50fdf42bc5.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 18, 2024, 3:32pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/6 "2024-10-18T15:32:20Z")

</div>

> [@oolyvi](#):
>
> there is not any effect

You changed the mass of the static mesh. What are your expectations? What effect are you talking about? What is supposed to happen? Did you expect the object to _feel heavier_ while the `Physics Handle` is grabbing onto it?

> [@Everynone](#):
>
> Afair, the Physics Handle overrides a lot of physics stuff _while_ it latches onto the component.

---

<div class="post-metadata">

**Author:** ![oolyvi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oolyvi/32/715655_2.png) [@oolyvi](https://forums.unrealengine.com/u/oolyvi)\
**Post date:** [October 18, 2024, 3:36pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/7 "2024-10-18T15:36:02Z")

</div>

yeap, I want to do that. You can look at this video for referring. Mass value of left one is 200, right one is 1. But they feel like they are on same weights while grabbing, I don’t want that

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 18, 2024, 3:39pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/8 "2024-10-18T15:39:12Z")

</div>

As mentioned above, mass has no effect on the behaviour of the Physics Handle. Read the mass values of the component and modify those accordingly, based on the mass of the object:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/1/c5158d95d92636ac6782145458c1beb5cd501e82.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/6/256fedf8df8dfa176b60ba0a08f9f69025799a07.png)

---

<div class="post-metadata">

**Author:** ![oolyvi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/oolyvi/32/715655_2.png) [@oolyvi](https://forums.unrealengine.com/u/oolyvi)\
**Post date:** [October 20, 2024, 12:27pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/9 "2024-10-20T12:27:19Z")

</div>

I solved this problem with getting mass of Hit Component and apply some interpolation there on my character class something like this. Btw, this logic can be more precise with extra additions according to different masses for meshes. This is just a simpler format of it

> **[set mass on objects posted by oolyvi | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/k_f0_rwv/)**
>
> No description provided

---

<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:** [November 19, 2024, 12:27pm UTC](https://forums.unrealengine.com/t/change-mass-value-of-actor-while-grabbing/2074410/10 "2024-11-19T12:27:47Z")

</div>

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