修改绳的逻辑

This commit is contained in:
2026-04-16 10:38:26 +08:00
parent a0fa4e6e9c
commit 9681d7526f
4 changed files with 23 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ namespace NBF
targetFirstSegmentLength =
Mathf.Clamp(initialFirstSegmentLength, minFirstSegmentLength, maxFirstSegmentLength);
solver.SetLenght(targetFirstSegmentLength);
solver.SetLenght(0.5f, 1);
// solver.BuildLine();
solver.OnLineBreakRequested += OnLineBreakRequested;