插头修改提交

This commit is contained in:
2025-02-19 17:25:37 +08:00
parent 722a3013ab
commit 430ab63f5c
8 changed files with 292 additions and 49 deletions
@@ -67,7 +67,7 @@ namespace AibisDream.FixSystem
float t = Mathf.InverseLerp(config.dstMin, config.dstMax, (_start.position - _end.position).magnitude);
float F = Mathf.Lerp(config.forceMin, config.forceMax, t);
_points[0] = _start.position;
_points[^1] = _end.GetChild(0).position;
_points[^1] = _end.position;
for (int ik = 0; ik < config.k; ik++)
{
for (int i = 1; i < _points.Length - 1; i++)