Skip to content
Jigwright
HullForge docs

Set Collision Profile

Set a static mesh's default collision profile and verify it by reading it back. Refuses a profile the project does not define, and names the ones it does, because a profile that does not exist is accepted silently and falls back to a default whose responses are nothing like the one intended.

hf_set_collision_profileWrite

Arguments

NameTypeDescription
meshreqstringPath to a Static Mesh asset.
profilereqstringProfile name as hf_list_collision_profiles reports it, for example BlockAll or Pawn.
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.

Nearby in Collision: