Defines a rigidity map for a piece of geometry, and how it applies.
Name | Description | Default | Required |
---|---|---|---|
weights | A float_indexed_array of vertex weights. | None | no |
groups | An array of rigidity_group objects. | None | yes |
{ "weights" : { "count" : 37, "values" : [ [ 0, 1 ], ... [ 36, 1 ] ] }, "groups" : [ { "id" : "SashRigid", "rotation_mode" : "secondary", "scale_modes" : [ "primary", "secondary", "none" ], "reference_vertices" : { "count" : 12, "values" : [ 8198, ... ] }, "mask_vertices" : { "count" : 24, "values" : [ 0, ... ] }, "transform_nodes" : [ "#sash1", "#sash2" ] }, { "id" : "ScabardRigid", "rotation_mode" : "secondary", "scale_modes" : [ "primary", "secondary", "secondary" ], "reference_vertices" : { "count" : 14, "values" : [ 4183, ... ] }, "mask_vertices" : { "count" : 10, "values" : [ 1584, ... ] }, "reference" : "#scabbard", "transform_nodes" : [ "#scabbard" ] } ] }