# HideBone won't modify collisions

**URL:** <https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578>\
**Category:** World Creation\
**Tags:** unreal-engine, Physics, Collision, question\
**Created:** [March 24, 2016, 3:29am UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578 "2016-03-24T03:29:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_37a38d3f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_37a38d3f](https://forums.unrealengine.com/u/anonymous_user_37a38d3f)\
**Post date:** [March 24, 2016, 3:29am UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/1 "2016-03-24T03:29:26Z")

</div>

In SkinnedMeshComponent.cpp, line 1688:

```
void USkinnedMeshComponent::HideBone( int32 BoneIndex, EPhysBodyOp PhysBodyOption)
{
	if (ShouldUpdateBoneVisibility() && BoneIndex < BoneVisibilityStates.Num())
	{
		checkSlow ( BoneIndex != INDEX_NONE );
		BoneVisibilityStates[BoneIndex] = BVS_ExplicitlyHidden;
		RebuildVisibilityArray();
	}
}

```

It have PhysBodyOption, but it won’t do anything about it, which meas, HideBone won’t disable or release any collision bodies.

It may has been reported as UE-19860, but still not fixed.

Any plans to complete this function?

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [March 24, 2016, 8:30pm UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/2 "2016-03-24T20:30:21Z")

</div>

Hey wdhwg001,

UE-19860 is currently backlogged, but I will add this post to the info contained in the bug. Is there any reason PBO-Terminate won’t work for your purposes?

-.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_37a38d3f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_37a38d3f](https://forums.unrealengine.com/u/anonymous_user_37a38d3f)\
**Post date:** [March 26, 2016, 5:42am UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/3 "2016-03-26T05:42:03Z")

</div>

It simply didn’t handle PBO at all. For example, you cannot hide/release collision of a destructible chunk using HideBone, because in SkinnedMeshComponent, HideBone just directly ignores the PBO param.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [March 29, 2016, 8:36pm UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/4 "2016-03-29T20:36:24Z")

</div>

Any chance you could attach an example project showing your setup?

If you’d rather send a project privately, you can PM me a link on the forums.

-.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_37a38d3f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_37a38d3f](https://forums.unrealengine.com/u/anonymous_user_37a38d3f)\
**Post date:** [April 4, 2016, 2:07am UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/5 "2016-04-04T02:07:58Z")

</div>

Sorry for the delay.  
Just shoot to the yellow box and press e, all chunks will gone but the collision won’t.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [April 4, 2016, 6:58pm UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/6 "2016-04-04T18:58:58Z")

</div>

Hey wdhwg001,

I’ve gone ahead and entered UE-29051 for this issue. In the meantime, is destroying the actor not an option for you?

-.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_37a38d3f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_37a38d3f](https://forums.unrealengine.com/u/anonymous_user_37a38d3f)\
**Post date:** [April 5, 2016, 12:34am UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/7 "2016-04-05T00:34:06Z")

</div>

Sadly it isn’t. Actually I want to destroy/hide only parts of one destructible. I’ve also tried to release PxShape or PxRigidBody, but both of them results in crashes.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [April 5, 2016, 4:04pm UTC](https://forums.unrealengine.com/t/hidebone-wont-modify-collisions/351578/8 "2016-04-05T16:04:59Z")

</div>

That’s what I figured you were trying to do. Unfortunately, other than stopping the simulation and then disabling collision, there isn’t a workaround.
