mirror of
https://github.com/fghrsh/live2d_api.git
synced 2024-11-22 18:50:10 +08:00
109 lines
1.4 KiB
JSON
109 lines
1.4 KiB
JSON
|
{
|
||
|
"type":"Live2D Physics",
|
||
|
"physics_hair":[
|
||
|
{
|
||
|
"setup":{
|
||
|
"length":0.17,
|
||
|
"regist":0.8,
|
||
|
"mass":0.5
|
||
|
},
|
||
|
"src":[
|
||
|
{
|
||
|
"id":"PARAM_ANGLE_X",
|
||
|
"ptype":"x",
|
||
|
"scale":0.025,
|
||
|
"weight":1
|
||
|
},
|
||
|
{
|
||
|
"id":"PARAM_ANGLE_Z",
|
||
|
"ptype":"angle",
|
||
|
"scale":0.8,
|
||
|
"weight":1
|
||
|
}
|
||
|
],
|
||
|
"targets":[
|
||
|
{
|
||
|
"id":"PARAM_HAIR_FRONT",
|
||
|
"ptype":"angle",
|
||
|
"scale":0.022,
|
||
|
"weight":1
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"setup":{
|
||
|
"length":0.17,
|
||
|
"regist":0.5,
|
||
|
"mass":0.5
|
||
|
},
|
||
|
"src":[
|
||
|
{
|
||
|
"id":"PARAM_ANGLE_X",
|
||
|
"ptype":"x",
|
||
|
"scale":0.005,
|
||
|
"weight":1
|
||
|
}
|
||
|
],
|
||
|
"targets":[
|
||
|
{
|
||
|
"id":"PARAM_HAIR_SIDE",
|
||
|
"ptype":"angle",
|
||
|
"scale":0.022,
|
||
|
"weight":1
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"setup":{
|
||
|
"length":0.5,
|
||
|
"regist":0.2,
|
||
|
"mass":1.2
|
||
|
},
|
||
|
"src":[
|
||
|
{
|
||
|
"id":"PARAM_ANGLE_X",
|
||
|
"ptype":"x",
|
||
|
"scale":0.01,
|
||
|
"weight":1
|
||
|
},
|
||
|
{
|
||
|
"id":"PARAM_ANGLE_Z",
|
||
|
"ptype":"angle",
|
||
|
"scale":0.8,
|
||
|
"weight":1
|
||
|
}
|
||
|
],
|
||
|
"targets":[
|
||
|
{
|
||
|
"id":"PARAM_HAIR_BACK",
|
||
|
"ptype":"angle",
|
||
|
"scale":0.022,
|
||
|
"weight":1
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"setup":{
|
||
|
"length":0.1,
|
||
|
"regist":0.01,
|
||
|
"mass":0.18
|
||
|
},
|
||
|
"src":[
|
||
|
{
|
||
|
"id":"PARAM_ANGLE_Y",
|
||
|
"ptype":"x",
|
||
|
"scale":0.002,
|
||
|
"weight":1
|
||
|
}
|
||
|
],
|
||
|
"targets":[
|
||
|
{
|
||
|
"id":"PARAM_BUST_Y",
|
||
|
"ptype":"angle",
|
||
|
"scale":0.022,
|
||
|
"weight":1
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|