# Change the rest collection without losing collision / ability to break ?

**URL:** <https://forums.unrealengine.com/t/change-the-rest-collection-without-losing-collision-ability-to-break/1389127>\
**Category:** Programming & Scripting\
**Tags:** Destruction, unreal-engine, Destructible, Physics, question\
**Created:** [November 14, 2023, 4:44am UTC](https://forums.unrealengine.com/t/change-the-rest-collection-without-losing-collision-ability-to-break/1389127 "2023-11-14T04:44:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [November 14, 2023, 4:44am UTC](https://forums.unrealengine.com/t/change-the-rest-collection-without-losing-collision-ability-to-break/1389127/1 "2023-11-14T04:44:45Z")

</div>

Hello,

Every time I try to change the rest collection in a geometry collection component, it looses any collision and do not simulate the fragments.

Why ? Is there a solution ?

Thanks !

---

<div class="post-metadata">

**Author:** ![Jau\_Studio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jau_studio/32/886547_2.png) [@Jau\_Studio](https://forums.unrealengine.com/u/Jau_Studio)\
**Post date:** [November 22, 2023, 12:17pm UTC](https://forums.unrealengine.com/t/change-the-rest-collection-without-losing-collision-ability-to-break/1389127/2 "2023-11-22T12:17:15Z")

</div>

Looks like my problem was network related. My game need actors to spawn with a mesh component and a geometry collection. So, here is how I fixed it :

1. Set the actor to replicate, always relevant. Set the Geometry Collection component to replicate physics.
2. In Construction Script , set geometry collection component relative scale to 0,0,0 and simulate physics to false.
3. When you want to break it, destroy the mesh or hide it and disable the collision.
4. Set geometry collection component relative scale to 1,1,1 and simulate physics to True.

You can then apply an impulse or a field.

---

<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:** [December 22, 2023, 12:17pm UTC](https://forums.unrealengine.com/t/change-the-rest-collection-without-losing-collision-ability-to-break/1389127/3 "2023-12-22T12:17:23Z")

</div>

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