{
  "version": 1,
  "uuid": "b2c3d4e5-f6a7-4890-bcde-f01234567890",
  "name": "pet_bed_sit",
  "_comment": [
    "W-sit (wariza) pose: fesses au sol, cuisses vers l'avant, tibias replies horizontalement le long des hanches.",
    "",
    "=== ATTENTION: Les axes sont SWAPED a cause du roll ±90 sur les jambes ===",
    "",
    "Le roll ±90 tourne les jambes sur elles-memes pour que le bend (pliage du genou)",
    "se fasse HORIZONTALEMENT (tibias vers l'arriere) au lieu de VERTICALEMENT (tibias vers le bas).",
    "",
    "Consequence: les axes visuels sont inverses pour les jambes:",
    "  - pitch : controle normalement avant/arriere, mais VISUELLEMENT controle l'ECARTEMENT des jambes",
    "            -90 = jambes droites devant, <-90 (ex: -110) = jambes ecartees, >-90 (ex: -70) = jambes fermees",
    "  - yaw   : controle normalement gauche/droite, mais VISUELLEMENT controle le HAUT/BAS des jambes",
    "            garder a 0 pour eviter que les jambes montent ou descendent",
    "  - roll  : -90 (droite) / +90 (gauche) = tourne la jambe pour rediriger le plan de pliage du genou",
    "  - bend  : -90 = plie le tibia vers l'arriere (direction inversee par le roll, donc negatif au lieu de positif)",
    "",
    "Pour ajuster l'ecartement: modifier pitch (plus negatif = plus ecarte, ex: -120 = tres ouvert)",
    "Pour ajuster la hauteur: modifier yaw (normalement laisser a 0)",
    "Pour ajuster le pliage des tibias: modifier bend (plus negatif = plus plie)"
  ],
  "emote": {
    "beginTick": 0,
    "endTick": 60,
    "stopTick": 60,
    "isLoop": true,
    "returnTick": 0,
    "nsfw": false,
    "degrees": true,
    "moves": [
      {
        "tick": 0,
        "easing": "EASEINOUTSINE",
        "comment": "Base pose - W-sit repos",
        "rightArm": {
          "comment": "Main droite posee sur la cuisse droite",
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -30,
          "yaw": 10,
          "roll": 0,
          "bend": -20
        },
        "leftArm": {
          "comment": "Main gauche posee sur la cuisse gauche",
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -30,
          "yaw": -10,
          "roll": 0,
          "bend": -20
        },
        "rightLeg": {
          "comment": "Cuisse droite: pitch=-110 ecarte (axe swappe par roll), roll=-90 redirige le bend, bend=-90 plie tibia horizontalement",
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": -90,
          "bend": -90
        },
        "leftLeg": {
          "comment": "Cuisse gauche: miroir de la droite (roll inverse)",
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": 90,
          "bend": -90
        },
        "body": {
          "comment": "Corps legerement penche en avant (assis)",
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": 5,
          "yaw": 0,
          "roll": 0
        }
      },
      {
        "tick": 15,
        "easing": "EASEINOUTSINE",
        "comment": "Breathing in - leger mouvement des bras, jambes statiques",
        "rightArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -28,
          "yaw": 10,
          "roll": 0.5,
          "bend": -19
        },
        "leftArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -28,
          "yaw": -10,
          "roll": -0.5,
          "bend": -19
        },
        "rightLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": -90,
          "bend": -90
        },
        "leftLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": 90,
          "bend": -90
        },
        "body": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": 6,
          "yaw": 0,
          "roll": 0
        }
      },
      {
        "tick": 30,
        "easing": "EASEINOUTSINE",
        "comment": "Retour pose de base",
        "rightArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -30,
          "yaw": 10,
          "roll": 0,
          "bend": -20
        },
        "leftArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -30,
          "yaw": -10,
          "roll": 0,
          "bend": -20
        },
        "rightLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": -90,
          "bend": -90
        },
        "leftLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": 90,
          "bend": -90
        },
        "body": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": 5,
          "yaw": 0,
          "roll": 0
        }
      },
      {
        "tick": 45,
        "easing": "EASEINOUTSINE",
        "comment": "Breathing out - leger mouvement inverse des bras",
        "rightArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -32,
          "yaw": 10,
          "roll": -0.5,
          "bend": -21
        },
        "leftArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -32,
          "yaw": -10,
          "roll": 0.5,
          "bend": -21
        },
        "rightLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": -90,
          "bend": -90
        },
        "leftLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": 90,
          "bend": -90
        },
        "body": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": 4,
          "yaw": 0,
          "roll": 0
        }
      },
      {
        "tick": 60,
        "easing": "EASEINOUTSINE",
        "comment": "Retour pose de base - boucle",
        "rightArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -30,
          "yaw": 10,
          "roll": 0,
          "bend": -20
        },
        "leftArm": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -30,
          "yaw": -10,
          "roll": 0,
          "bend": -20
        },
        "rightLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": -90,
          "bend": -90
        },
        "leftLeg": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": -110,
          "yaw": 0,
          "roll": 90,
          "bend": -90
        },
        "body": {
          "position": { "x": 0, "y": 0, "z": 0 },
          "pitch": 5,
          "yaw": 0,
          "roll": 0
        }
      }
    ]
  }
}
