Skip to content
Jigwright
HullForge docs

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_assetWrite

Arguments

NameTypeDescription
pathreqstringFull destination path, like /Game/Chars/PHYS_Hero.
skeletal_meshreqstringPath of the skeletal mesh to generate from.
assign_to_meshboolean
= 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.

Nearby in Physics assets: