Create Collider For Mesh#

Generate physics colliders and set optional physics material bindings for a set of input meshes.

Installation#

To use this Node, you must enable omni.houdini_engine.stage_io in the Extension Manager.

Inputs#

Name

Type

Description

Default

export_to_layer_name

token

Optional layer where the edit will go. If empty, the current edit layer will be used.

mesh_prim_paths

token[]

The Mesh Prim Paths

collider_tag_attribute_name

token

Name of a mesh attribute used to filter the meshes for which colliders need to be created.

ds_material_tag

collider_tag_attribute_values

token

List of the collider tag attribute values for which colliders are created on the associated meshes.

physics_bindings_materials_prim_path

token

Optional path for physics binding material parent prim.

prim_attribute_to_physics_bindings_materials_mappings

token

Comma separated list of declarative prim attribute value filter to physics material reference mapping. For each mesh that has a collider applied, the filter is validated and if the predicate is true the physics binding material value is set as a reference in the prim. The format of the mapping is as such: <prim-attribute-filter>=<physics-material-binding> with <prim-attribute-filter> being formatted as <prim-attribute-name>:<prim-attribute-expected-value-for-the-filter-to-pass> For example: ‘ds_material_tag:road_adv=physics_asphalt’ means that if the prim has an attribute ‘ds_material_tag’ with a value of ‘road_adv’, then the ‘physics_asphalt’ material binding is assigned

Outputs#

Name

Type

Description

Default

collider_mesh_paths

token[]

Lists of all the meshes prim paths for which colliders were created