Schemas / Animation / modulators

rig.anim.bind

v1.0.0 · stable maturity: draft 3 fields 0 required

Fields

FieldTypeMeaning
position vec3 optional Optional. Local rest translation; absent = the bone's transform position
rotation quat optional Optional. Local rest rotation, x y z w; absent = the bone's transform rotation
scale vec3 optional Optional. Local rest scale; absent = the bone's transform scale

Rest pose of one bone. Format when present. Compose on the bone entity.

rig.spatial.transform is the pose at save. This component is the pose clips are authored against. When a field is absent, that channel's rest matches the transform, so a bone that was never posed stores neither twice.

The posed mesh is a host cache. Inverse bind matrices stay on rig.anim.skin.

JSON Schema

Resolves at https://rig.works/schemas/rig.anim.bind.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.anim.bind.schema.json",
  "title": "rig.anim.bind",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "position": {
      "$ref": "./_defs.schema.json#/$defs/vec3"
    },
    "rotation": {
      "$ref": "./_defs.schema.json#/$defs/quat"
    },
    "scale": {
      "$ref": "./_defs.schema.json#/$defs/vec3"
    }
  },
  "x-rig-maturity": "draft"
}

Seen in

play-scene.json