Files
PetitPlanet-Data/Json/IKCfg.json
2025-11-11 07:21:48 +07:00

437 lines
12 KiB
JSON

{
"0": {
"name": "Default",
"components": [
{
"$type": "miHoYo.HYG.DOAnimation.AnimageIKComponent, Assembly-CSharp",
"effectors": [
{
"type": 1,
"paramName": "FBIKHips"
},
{
"type": 2,
"paramName": "FBIKLeftFoot"
},
{
"type": 3,
"paramName": "FBIKRightFoot"
},
{
"type": 4,
"paramName": "FBIKLeftHand"
},
{
"type": 5,
"paramName": "FBIKRightHand"
}
]
},
{
"$type": "miHoYo.HYG.DOAnimation.IKEntityInfoComponent, Assembly-CSharp"
},
{
"$type": "miHoYo.HYG.DOAnimation.GroundingConfigSMComponent, Assembly-CSharp",
"states": [
{
"tag": 1,
"config": {
"layers": {
"value": 2305
},
"priorityLayers": [
{
"value": 1073741824
},
{
"value": 2304
}
],
"maxStep": 0.3,
"heightOffset": 0.015,
"footSpeed": 0.3,
"footRadius": 0.05,
"footCenterOffset": 0.0,
"prediction": 0.2,
"footRotationWeight": 1.0,
"footRotationSpeed": 7.0,
"maxFootRotationAngle": 45.0,
"FootXAngleRange": {
"x": -90.0,
"y": 90.0
},
"rotateSolver": false,
"pelvisSpeed": 15.0,
"pelvisUpSpeed": 15.0,
"pelvisDownSpeed": 15.0,
"pelvisDamper": 0.0,
"lowerPelvisWeight": 1.0,
"liftPelvisWeight": 1.0,
"pevlisUpDownRatio": 0.0,
"pelvisForwardRatio": 0.0,
"rootSphereCastRadius": 0.1,
"overstepFallsDown": true,
"fallDownDecrease": 0.0,
"quality": 2,
"FootHeightRange": {
"x": -0.5,
"y": 0.5
},
"FootPitchRange": {
"x": -45.0,
"y": 25.0
},
"FootYawRange": {
"x": -90.0,
"y": 90.0
},
"FootRollRange": {
"x": 0.0,
"y": 0.0
}
}
},
{
"tag": 2,
"config": {
"layers": {
"value": 2305
},
"priorityLayers": [
{
"value": 1073741824
},
{
"value": 2304
}
],
"maxStep": 0.3,
"heightOffset": 0.015,
"footSpeed": 0.75,
"footRadius": 0.05,
"footCenterOffset": 0.0,
"prediction": 0.25,
"footRotationWeight": 1.0,
"footRotationSpeed": 10.0,
"maxFootRotationAngle": 45.0,
"FootXAngleRange": {
"x": -90.0,
"y": 90.0
},
"rotateSolver": false,
"pelvisSpeed": 15.0,
"pelvisUpSpeed": 7.0,
"pelvisDownSpeed": 15.0,
"pelvisDamper": 0.0,
"lowerPelvisWeight": 1.0,
"liftPelvisWeight": 1.0,
"pevlisUpDownRatio": 0.5,
"pelvisForwardRatio": 0.4,
"rootSphereCastRadius": 0.1,
"overstepFallsDown": true,
"fallDownDecrease": 0.0,
"quality": 2,
"FootHeightRange": {
"x": -0.25,
"y": 0.5
},
"FootPitchRange": {
"x": -45.0,
"y": 25.0
},
"FootYawRange": {
"x": -90.0,
"y": 90.0
},
"FootRollRange": {
"x": 0.0,
"y": 0.0
}
}
},
{
"tag": 3,
"config": {
"layers": {
"value": 2305
},
"priorityLayers": [
{
"value": 1073741824
},
{
"value": 2304
}
],
"maxStep": 0.3,
"heightOffset": 0.0,
"footSpeed": 0.0,
"footRadius": 0.05,
"footCenterOffset": 0.0,
"prediction": 0.2,
"footRotationWeight": 1.0,
"footRotationSpeed": 0.0,
"maxFootRotationAngle": 45.0,
"FootXAngleRange": {
"x": -90.0,
"y": 90.0
},
"rotateSolver": false,
"pelvisSpeed": 0.0,
"pelvisUpSpeed": 0.0,
"pelvisDownSpeed": 0.0,
"pelvisDamper": 0.0,
"lowerPelvisWeight": 1.0,
"liftPelvisWeight": 1.0,
"pevlisUpDownRatio": 0.7,
"pelvisForwardRatio": 0.0,
"rootSphereCastRadius": 0.1,
"overstepFallsDown": true,
"fallDownDecrease": 0.0,
"quality": 2,
"FootHeightRange": {
"x": -0.1,
"y": 0.0
},
"FootPitchRange": {
"x": 0.0,
"y": 0.0
},
"FootYawRange": {
"x": 0.0,
"y": 0.0
},
"FootRollRange": {
"x": 0.0,
"y": 0.0
}
}
}
]
},
{
"$type": "miHoYo.HYG.DOAnimation.GroundingComponent, Assembly-CSharp"
},
{
"$type": "miHoYo.HYG.DOAnimation.LookAtConfigSMComponent, Assembly-CSharp",
"states": [
{
"tag": 1,
"config": {
"rotationAlphas": [
0.0,
0.0,
0.0,
1.0
],
"maxSpeed": 540.0,
"maxAcceleration": 2700.0,
"armLength": 1.0,
"slowAngle": 30.0,
"deadAngle": 10.0,
"timeToTargetVelocity": 0.1,
"maxYawAngle": 45.0,
"minYawAngle": -45.0,
"maxPitchAngle": 60.0,
"minPitchAngle": -15.0
}
},
{
"tag": 3,
"config": {
"rotationAlphas": [
0.0,
0.5,
0.75,
1.0
],
"maxSpeed": 540.0,
"maxAcceleration": 2700.0,
"armLength": 1.0,
"slowAngle": 10.0,
"deadAngle": 10.0,
"timeToTargetVelocity": 0.1,
"maxYawAngle": 45.0,
"minYawAngle": -45.0,
"maxPitchAngle": 60.0,
"minPitchAngle": -15.0
}
},
{
"tag": 4,
"config": {
"rotationAlphas": [
0.0,
0.5,
0.75,
1.0
],
"maxSpeed": 8000.0,
"maxAcceleration": 8000.0,
"armLength": 1.0,
"slowAngle": 0.0,
"deadAngle": 0.0,
"timeToTargetVelocity": 0.0,
"maxYawAngle": 65.0,
"minYawAngle": -65.0,
"maxPitchAngle": 1.0,
"minPitchAngle": -1.0
}
},
{
"tag": 5,
"config": {
"rotationAlphas": [
0.0,
0.0,
0.0,
1.0
],
"maxSpeed": 8000.0,
"maxAcceleration": 8000.0,
"armLength": 1.0,
"slowAngle": 0.0,
"deadAngle": 0.0,
"timeToTargetVelocity": 0.0,
"maxYawAngle": 60.0,
"minYawAngle": -60.0,
"maxPitchAngle": 60.0,
"minPitchAngle": -60.0
}
}
]
},
{
"$type": "miHoYo.HYG.DOAnimation.LookAtComponent, Assembly-CSharp",
"configWeight": 1.0,
"lookat": {
"paramName": "LookAtPos"
},
"rotationAlpha": [
{
"paramName": "LowerSpineRotationAlpha"
},
{
"paramName": "SpineRotationAlpha"
},
{
"paramName": "NeckRotationAlpha"
},
{
"paramName": "HeadRotationAlpha"
}
]
},
{
"$type": "miHoYo.HYG.DOAnimation.IKDelegateComponent, Assembly-CSharp"
},
{
"$type": "miHoYo.HYG.DOAnimation.IKOffsetComponent, Assembly-CSharp"
}
]
},
"1": {
"name": "DefaultNPC",
"components": [
{
"$type": "miHoYo.HYG.DOAnimation.AnimageIKComponent, Assembly-CSharp",
"effectors": [
{
"type": 1,
"paramName": "FBIKHips"
},
{
"type": 2,
"paramName": "FBIKLeftFoot"
},
{
"type": 3,
"paramName": "FBIKRightFoot"
},
{
"type": 4,
"paramName": "FBIKLeftHand"
},
{
"type": 5,
"paramName": "FBIKRightHand"
}
]
},
{
"$type": "miHoYo.HYG.DOAnimation.IKEntityInfoComponent, Assembly-CSharp"
},
{
"$type": "miHoYo.HYG.DOAnimation.LookAtConfigSMComponent, Assembly-CSharp",
"states": [
{
"tag": 1,
"config": {
"rotationAlphas": [
0.0,
0.0,
0.0,
1.0
],
"maxSpeed": 540.0,
"maxAcceleration": 2700.0,
"armLength": 1.0,
"slowAngle": 30.0,
"deadAngle": 10.0,
"timeToTargetVelocity": 0.1,
"maxYawAngle": 45.0,
"minYawAngle": -45.0,
"maxPitchAngle": 45.0,
"minPitchAngle": -15.0
}
},
{
"tag": 3,
"config": {
"rotationAlphas": [
0.0,
0.5,
0.75,
1.0
],
"maxSpeed": 540.0,
"maxAcceleration": 2700.0,
"armLength": 1.0,
"slowAngle": 10.0,
"deadAngle": 10.0,
"timeToTargetVelocity": 0.1,
"maxYawAngle": 45.0,
"minYawAngle": -45.0,
"maxPitchAngle": 60.0,
"minPitchAngle": -15.0
}
}
]
},
{
"$type": "miHoYo.HYG.DOAnimation.LookAtComponent, Assembly-CSharp",
"configWeight": 1.0,
"lookat": {
"paramName": "LookAtPos"
},
"rotationAlpha": [
{
"paramName": "LowerSpineRotationAlpha"
},
{
"paramName": "SpineRotationAlpha"
},
{
"paramName": "NeckRotationAlpha"
},
{
"paramName": "HeadRotationAlpha"
}
]
},
{
"$type": "miHoYo.HYG.DOAnimation.IKDelegateComponent, Assembly-CSharp"
}
]
}
}