# Apply physics on part of skeletal mesh

**URL:** <https://forums.unrealengine.com/t/apply-physics-on-part-of-skeletal-mesh/453450>\
**Category:** World Creation\
**Tags:** ragdoll, physics-body, unreal-engine, Physics, skeletalmesh, CPP, question\
**Created:** [August 6, 2019, 2:48pm UTC](https://forums.unrealengine.com/t/apply-physics-on-part-of-skeletal-mesh/453450 "2019-08-06T14:48:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developpeur2000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@developpeur2000](https://forums.unrealengine.com/u/developpeur2000)\
**Post date:** [August 6, 2019, 2:48pm UTC](https://forums.unrealengine.com/t/apply-physics-on-part-of-skeletal-mesh/453450/1 "2019-08-06T14:48:08Z")

</div>

Hi guys,

In my game the player can tear its own arm and use a broken arm. it is a skeletal mesh that can be grabbed with the non broken hand and the user still controls its hand.

The broken hand mesh has 2 physics rigid bodies, one for the hand and one for the forearm as you can see :

 ![284321-physics-of-arm.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/5/6f58f19526e387da1b9ccd9a93345a20e71fee47.jpeg)

What I want to achieve is that when the broken hand grab some kind of object, instead of my usual grip system that would attach the object to the hand, I would like the hand to stick on the object and have the forearm have its physics simulated so it has gravity and hangs

I tried to use the following code to achieve this, without success :

```
	SkeletalMesh->SetSimulatePhysics(false);

	FBodyInstance* HandPhysicsBody = SkeletalMesh->GetBodyInstance(FName("P_R_Hand"));
	check(HandPhysicsBody);
	HandPhysicsBody->SetInstanceSimulatePhysics(false);//i guess this is superfluous

	FBodyInstance* ForearmPhysicsBody = SkeletalMesh->GetBodyInstance(FName("P_R_Forearm"));
	check(ForearmPhysicsBody);
	ForearmPhysicsBody->SetInstanceSimulatePhysics(true);

```

The problem is that the arm in its entirety is falling down.  
I guess this is because of the physics hierarchy, the forearm being the parent of the hand.  
Is there a way to have the hand stay where it is and have the forearm go down with gravity ?

In the end the problem is similar to a nunchak that could be hold by either end and have the other end be simulating physics regardless of which end is parent
