mirror of
https://github.com/fghrsh/live2d_api.git
synced 2024-11-22 18:50:10 +08:00
209 lines
3.0 KiB
JSON
209 lines
3.0 KiB
JSON
{
|
|
"type":"Live2D Physics",
|
|
"physics_hair":[
|
|
{
|
|
"label":"hair_front",
|
|
"setup":{
|
|
"length":0.1,
|
|
"regist":0.5,
|
|
"mass":0.2
|
|
},
|
|
"src":[
|
|
{
|
|
"id":"PARAM_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.005,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.015,
|
|
"weight":1
|
|
},
|
|
{
|
|
"id":"PARAM_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":0.8,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":2.4,
|
|
"weight":1
|
|
}
|
|
],
|
|
"targets":[
|
|
{
|
|
"id":"PARAM_HAIR_FRONT",
|
|
"ptype":"angle",
|
|
"scale":0.022,
|
|
"weight":1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label":"hair_side",
|
|
"setup":{
|
|
"length":0.25,
|
|
"regist":0.5,
|
|
"mass":0.3
|
|
},
|
|
"src":[
|
|
{
|
|
"id":"PARAM_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.005,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.015,
|
|
"weight":1
|
|
},
|
|
{
|
|
"id":"PARAM_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":0.8,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":2.4,
|
|
"weight":1
|
|
}
|
|
],
|
|
"targets":[
|
|
{
|
|
"id":"PARAM_HAIR_SIDE",
|
|
"ptype":"angle",
|
|
"scale":0.022,
|
|
"weight":1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label":"hair_back",
|
|
"setup":{
|
|
"length":0.35,
|
|
"regist":0.5,
|
|
"mass":0.35
|
|
},
|
|
"src":[
|
|
{
|
|
"id":"PARAM_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.005,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.012,
|
|
"weight":1
|
|
},
|
|
{
|
|
"id":"PARAM_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":0.8,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":2,
|
|
"weight":1
|
|
}
|
|
],
|
|
"targets":[
|
|
{
|
|
"id":"PARAM_HAIR_BACK",
|
|
"ptype":"angle",
|
|
"scale":0.022,
|
|
"weight":1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label":"accessory_x",
|
|
"setup":{
|
|
"length":0.2,
|
|
"regist":0.5,
|
|
"mass":0.1
|
|
},
|
|
"src":[
|
|
{
|
|
"id":"PARAM_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.005,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.015,
|
|
"weight":1
|
|
},
|
|
{
|
|
"id":"PARAM_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":0.8,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_Z",
|
|
"ptype":"angle",
|
|
"scale":2.4,
|
|
"weight":1
|
|
}
|
|
],
|
|
"targets":[
|
|
{
|
|
"id":"PARAM_ACCESSORY_Z",
|
|
"ptype":"angle",
|
|
"scale":0.022,
|
|
"weight":1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label":"bust_y",
|
|
"setup":{
|
|
"length":0.05,
|
|
"regist":0.4,
|
|
"mass":0.07
|
|
},
|
|
"src":[
|
|
{
|
|
"id":"PARAM_BODY_ANGLE_Y",
|
|
"ptype":"x",
|
|
"scale":0.001,
|
|
"weight":0.5
|
|
},
|
|
{
|
|
"id":"PARAM_ANGLE_X",
|
|
"ptype":"x",
|
|
"scale":0.001,
|
|
"weight":1
|
|
},
|
|
{
|
|
"id":"PARAM_ACCESSORY_Z",
|
|
"ptype":"angle",
|
|
"scale":0.001,
|
|
"weight":1
|
|
}
|
|
],
|
|
"targets":[
|
|
{
|
|
"id":"PARAM_BUST_Y",
|
|
"ptype":"angle",
|
|
"scale":0.022,
|
|
"weight":1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |