Creating A Custom Physics Asset for Skeletal Meshes, is it working?

   879   0   1
User Avatar
Member
10 posts
Joined: 2月 2022
オフライン
Hello! I am making this post to ask about how the Physics Assets work for Skeletal Meshes and the Houdini Engine. I've been trying to follow the docs: https://www.sidefx.com/docs/houdini/unreal/skeletalmesh.html#creating-a-custom-physics-asset [www.sidefx.com]

I am interested in the **Creating A Custom Physics Asset** part but it doesn't seem to work for me, I re-created one-to-one the example of the category. Trying with Houdini 20.5 and Unreal Engine 5.6.

For what I've tested, seems like the collisions are created but as static meshes separate from the Skeletal Mesh.

I think there is an issue with the detection of the third input of KineFXToUnreal. I've looked into the Houdini Engine source code and debugged it a bit. This is what I found:

In the HoudiniSkeletalMeshTranslator.cpp file, at the `FHoudiniSkeletalMeshTranslator::ProcessSkeletalMeshOutputs` function:


else if (CurHGPO.Type == EHoudiniPartType::SkeletalMeshPhysAsset)  
{  
    UE_LOG(LogTemp, Warning, TEXT("EUJU - There are physics objects coming in"));  
    if (CurHGPO.bIsInstanced)  
       SKParts.HGPOPhysAssetMesh = &CurHGPO;  
    else  
       SKParts.HGPOPhysAssetInstancer = &CurHGPO;  
}

This never goes through as the inputs detected don't seem to find any geos of type
EHoudiniPartType::SkeletalMeshPhysAsset
.

I am not sure if this feature is bugged or if it ever worked, might be because I am using a newer version of the HDA, 20.5 examples of the 5.6 Houdini Engine Build. I also see that it is packing the character with the new apex system, which doesn't assign a type to that input. The feature seems to be implemented in the HoudiniSkeletalMeshTranslator.cpp file, which leads me to believe that it is possible.

Anyway, I have not found anything online about this feature working or an example that can show that, so maybe it could be a bug.

Also, are there any plans to improve this part? I am working on a personal project and eventually I will need to automate the Physics Asset creation for my skeletal meshes. It would be great to know something about this, before I spend one month making my own solution. Although I might be the only user interested on ahahah.

I might dive deeper to the Houdini Engine and see if I can uncover a bit more from this.
Edited by eusebijucgla - 2025年7月31日 14:48:43
Best,
Sebi
  • Quick Links