# How to "retarget" skeleton on PhysicsAsset?

**URL:** <https://forums.unrealengine.com/t/how-to-retarget-skeleton-on-physicsasset/487052>\
**Category:** Character & Animation\
**Tags:** pose, physics-asset, unreal-engine, skeletalmesh, question\
**Created:** [August 5, 2021, 11:42am UTC](https://forums.unrealengine.com/t/how-to-retarget-skeleton-on-physicsasset/487052 "2021-08-05T11:42:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f92919d11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f92919d11](https://forums.unrealengine.com/u/anonymous_user_f92919d11)\
**Post date:** [August 5, 2021, 11:42am UTC](https://forums.unrealengine.com/t/how-to-retarget-skeleton-on-physicsasset/487052/1 "2021-08-05T11:42:16Z")

</div>

When you apply a new Preview mesh on your physics asset, you get a new Physics asset in phat with the proportions of your newly applied mesh. I’d like to do the same thing at runtime.(Have the old physics asset with proportions of another skeletalmesh. In the PHAT editor it even the simulation is played correctly.)  
Just wondering, if there is a similar function to call to

```
 USkinnedMeshComponent::SetRefPoseOverride(sometransfromsarray);

```

on the PhysicsAsset.  
Already had a look at

```
USkeletalMeshComponent::InstantiatePhysicsAsset(*PhysAsset,FVector(1.0),HighLevelBodyInstances, HighLevelConstraintInstances, PhysScene_PhysX, Mesh, INDEX_NONE, FPhysicsAggregateHandle());

```

and

```
USkeletalMeshComponent::InstantiatePhysicsAssetRefPose(*PhysAsset,FVector(1.0),HighLevelBodyInstances, HighLevelConstraintInstances, PhysScene_PhysX, Mesh, INDEX_NONE, FPhysicsAggregateHandle());

```

but they seem to affect the PhysicsBodies only, but not the skeleton/pose itself.  
I call `SetRefPoseOverride` first to override skeleton/pose transforms, and it works quite well with animations. But as soon as I call SetSimulatePhysics on the mesh, the PhysicsAsset resets the skeleton transforms to the original version.
