# StaticMesh gets de-attach from physics object when

**URL:** <https://forums.unrealengine.com/t/staticmesh-gets-de-attach-from-physics-object-when/336426>\
**Category:** World Creation\
**Tags:** drop, pickup, unreal-engine, Physics, UE4, Blueprint, question\
**Created:** [October 25, 2015, 10:53am UTC](https://forums.unrealengine.com/t/staticmesh-gets-de-attach-from-physics-object-when/336426 "2015-10-25T10:53:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonas\_Molgaard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonas\_Molgaard](https://forums.unrealengine.com/u/Jonas_Molgaard)\
**Post date:** [October 25, 2015, 10:53am UTC](https://forums.unrealengine.com/t/staticmesh-gets-de-attach-from-physics-object-when/336426/1 "2015-10-25T10:53:51Z")

</div>

Hi there, this is my first time posting here.

My setup is a character that i want to be able to pickup an item (Pickupable blueprint). From start all instances of Pickupable have Simulate Physics set to off. When i pick them up and attach to my actor.

 ![64036-try+equip+item.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/6/ee6b16bfdd57ba46a000f256416d6e2fe47e28c0.png)

So basically i disable Simulate Physics (in case it was set), so it doesent fall out of our hand. Disable collision so it doesent keep colliding and then call AttachActorToComponent to put it into our socket.

When i wanna drop the item, i DetachActorFromActor, Renable Collision and Physics.

 ![64039-unequip+and+drop+item.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/c/f6cf8d022babc90e24ca7a0513db0e811b423a33.png)

The Item i pickup is shown here:  
64042-  
So actually i have made a Interactable → Pickupable → Weapon → m4a1-s and what i put in my level is the m4a1-s blueprint.

In my Level it looks initially like this(billboard and mesh and interactionsphere are all neatly together):

 ![64043-level-example+initially.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/9/139605d61c36af901a27aff4a918261310a0e95f.png)

Problem is shown here. When i pickup an item and dropped it, the billboard have been detached from the StaticMesh.

How do i get the object hierarchy restored proberly?

 ![64047-billboard+de-attached+from+mesh.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/e/d4e96802de1d54c48bedf103ce606e26f222a57a.png)

If at all possible point out where i’ve done something wrong(and if someone has a link to a good ressource that explains this better in depth, i would very much appreciate.

---

<div class="post-metadata">

**Author:** ![Jonas\_Molgaard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonas\_Molgaard](https://forums.unrealengine.com/u/Jonas_Molgaard)\
**Post date:** [October 25, 2015, 4:49pm UTC](https://forums.unrealengine.com/t/staticmesh-gets-de-attach-from-physics-object-when/336426/2 "2015-10-25T16:49:56Z")

</div>

Follow up question:  
Is it possible to get the interactionSphere to fall along with the physical enabled Static Mesh?

---

<div class="post-metadata">

**Author:** ![Jonas\_Molgaard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jonas\_Molgaard](https://forums.unrealengine.com/u/Jonas_Molgaard)\
**Post date:** [October 26, 2015, 7:45pm UTC](https://forums.unrealengine.com/t/staticmesh-gets-de-attach-from-physics-object-when/336426/3 "2015-10-26T19:45:09Z")

</div>

Ok i figured it out myself. I ended up with a simpler component hierarchy.  
Static Mesh (as root)

- InteractionBox (CollisionBox) - Auto Weld (uncheck) which ensures the CollisionBox does not inherit the collisionsettings from my Static Mesh.

When i pickup my item i disable Physics and collision and right after i make sure to re-attach my Static Mesh to the RootComponent,

When i drop it again, i detach actor (item), enable Physics and collision and finally i Attach my InteractionBox to Actor again with “Weld Simulated Bodies” off.

If someone can come up with a more elegant solution to this, im keeping this question open for a bit more. But will resolve it if i don’t hear from anyone.

---

<div class="post-metadata">

**Author:** ![Osmanoxil1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Osmanoxil1](https://forums.unrealengine.com/u/Osmanoxil1)\
**Post date:** [June 8, 2022, 11:01pm UTC](https://forums.unrealengine.com/t/staticmesh-gets-de-attach-from-physics-object-when/336426/4 "2022-06-08T23:01:01Z")

</div>

Set the static mesh as a root component
