修改绳的逻辑

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

@@ -108,7 +108,7 @@ namespace NBF
public void SetLenght(float length, int index = 0)
{
ConfigureStartNode();
var node = logicalNodes[index];
var node = logicalNodes[index + 1];
if (node != null)
{
node.SetLenght(length);