Create Physics Asset
Generate a physics asset from a skeletal mesh, which is the remedy when the audit reports a character mesh with none. Bodies and constraints come from the engine's own generator. It reports the worst mass ratio it produced straight away, because the generator computes mass from shape volume and routinely lands the extremities far from the torso, which is the exact fault hf_audit_physics reports. Created in memory only; call hf_save_object to write it to disk.
hf_create_physics_assetWriteArguments
| Name | Type | Description |
|---|---|---|
pathreq | string | Full destination path, like /Game/Chars/PHYS_Hero. |
skeletal_meshreq | string | Path of the skeletal mesh to generate from. |
assign_to_mesh | boolean = true | Also set it as the mesh's physics asset. Without this the asset exists and nothing uses it, which looks identical to having no physics asset at all. |
Related tools
Nearby in Physics assets: