# Attach actor with physics

**URL:** <https://forums.unrealengine.com/t/attach-actor-with-physics/635011>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [August 26, 2022, 8:48pm UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011 "2022-08-26T20:48:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heisjegg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heisjegg](https://forums.unrealengine.com/u/Heisjegg)\
**Post date:** [August 26, 2022, 8:48pm UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/1 "2022-08-26T20:48:35Z")

</div>

Hi

Activating “Simulate physics” on a blueprint does not seem to have an effect?

Similar to Zelda games, I have a stick I can pick up. It currently does not have physics, and the pick-up works fine, but glitches through the floor of elevators if placed on the ground. So, I would like the stick to have physics, but the problem then is that I can’t pick it up. I can see in the outliner that it gets attached, but not transformed to the socket. I have tried to deactivate physics before attaching it to the socket by giving the stick a tag first, but that does not work for some reason.

Any suggestions to how to do this interaction? Seems like a very common thing to do in games. I guess you could attach the stick to the ground below it, but that limits the possibility of having platforms that can flip upside down.

I have followed these forum posts, but none worked for me:

> [@How to disable actor physics via blueprints](https://forums.unrealengine.com/t/how-to-disable-actor-physics-via-blueprints/344797):
>
> The question says it all. I want to, when the actor is hit, turn on it’s physics, please help.

> [@Attach Actor to Actor Doesn't Work with Physics Enabled](https://forums.unrealengine.com/t/attach-actor-to-actor-doesnt-work-with-physics-enabled/157947):
>
> Hello, in the attached picture, I have a function that attaches the pickaxe to the player once called. However if I have physics enabled the mesh doesnt move the desired location however I noticed that the pickaxe actor does attach to the player in the World Outliner so it is happening in code but not visually.

My Blueprints for attaching/detaching actors:

 ![drop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/f/9df1f50171b5cfa2e76286db40979f5c67af3d75.png)  
 ![Pick up](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/3/023adf476c6672c5a6dd79e6a7b6ef510490a5d0.png)

Video with example:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/3/16317ea8115bfc69d3f527ca5f08fe0549bb2177.jpeg "UE5 - Attach actor with physics - Problem") ](https://www.youtube.com/watch?v=C-V8gUg8jEs)

---

<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:** [August 27, 2022, 5:01am UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/2 "2022-08-27T05:01:22Z")

</div>

Hey there @Heisjegg! You had the right idea when you tried to disable the physics then pick up, and enable it after you drop it. That said, if you do anything with physics while moving anything with translations in the same frame, things will always break. An empty delay node will delay it to next frame.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/3/47359c2dd954996857025131e82b209616f9df67.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![KaidoomDev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kaidoomdev/32/977996_2.png) [@KaidoomDev](https://forums.unrealengine.com/u/KaidoomDev)\
**Post date:** [August 27, 2022, 5:22am UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/3 "2022-08-27T05:22:53Z")

</div>

The issue with this is that your pickup has a Scene component as the root component, so when you enable physics the static mesh gets detached from its parent, you can read the highlighted description.

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

The solution is to make the static mesh the root component or after you disable physics attach the static mesh back to the scene component.

---

<div class="post-metadata">

**Author:** ![Heisjegg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heisjegg](https://forums.unrealengine.com/u/Heisjegg)\
**Post date:** [August 27, 2022, 8:34am UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/4 "2022-08-27T08:34:26Z")

</div>

Thanks a lot, I will try this! Great to understand more how UE actually works

---

<div class="post-metadata">

**Author:** ![Heisjegg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heisjegg](https://forums.unrealengine.com/u/Heisjegg)\
**Post date:** [August 27, 2022, 8:35am UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/5 "2022-08-27T08:35:52Z")

</div>

Never thought about reading the nodes description, thanks for pointing that out! I will test this by making the mesh the root, and come if this solved it

---

<div class="post-metadata">

**Author:** ![Heisjegg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heisjegg](https://forums.unrealengine.com/u/Heisjegg)\
**Post date:** [August 27, 2022, 6:27pm UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/6 "2022-08-27T18:27:33Z")

</div>

The solution was like you said Kaidoom, to make the static mesh the root, but also attach to the players socket again after physics are disabled. Thank you so much for the help! Also, when dropping the item, I have to delay turning on the physics again, or else it will collide with the player to soon and catapult itself beyond the horizon.

Player blueprint:

 ![drop 1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/c/a4c8e8bacdfcdf1af910db601519ec041c1f29d7.png)  
 ![drop 2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/5/15545a22f1cc01a40fab893938bb1f170fc59e86.png)  
 ![Pick up](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/d/b0d7693015f3edd6315e3130b7bd2ddd4c6f75df.png)

Pickup item blueprint:

 ![Stick 1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/2/fb2eea04fea7f0cfb3a8bdcc34700f749ae5310f.png)  
 ![Stick 2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/3/de3268095358e6aca477657050bc0c6aa8c13503.png)

---

<div class="post-metadata">

**Author:** ![7ymke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@7ymke](https://forums.unrealengine.com/u/7ymke)\
**Post date:** [April 26, 2024, 7:39pm UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/7 "2024-04-26T19:39:10Z")

</div>

Hi im having a similar problem i need to ask what do you mean by making the static mesh the root? I already disable physics before attaching the actor to the socket.

---

<div class="post-metadata">

**Author:** ![7ymke](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@7ymke](https://forums.unrealengine.com/u/7ymke)\
**Post date:** [April 27, 2024, 10:31am UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/8 "2024-04-27T10:31:12Z")

</div>

Never mind i got it by the way, if someone also didn’t know they ment, do this (look at picture)  
Drag the staticmesh to the scene root  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/d/a8de1e471f75d3128470d665415179c1a1b3c972.png)

---

<div class="post-metadata">

**Author:** ![DaUik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaUik](https://forums.unrealengine.com/u/DaUik)\
**Post date:** [February 1, 2025, 6:35pm UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/9 "2025-02-01T18:35:38Z")

</div>

omg, just thanks …

---

<div class="post-metadata">

**Author:** ![Eniotasky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eniotasky](https://forums.unrealengine.com/u/Eniotasky)\
**Post date:** [February 12, 2025, 7:56pm UTC](https://forums.unrealengine.com/t/attach-actor-with-physics/635011/10 "2025-02-12T19:56:31Z")

</div>

Thank you all ! I prefered to reattach my skeletal mesh (not static, but it seems to work) to the scene component but you all been usefull
