修改鱼线相关逻辑
This commit is contained in:
@@ -18,8 +18,10 @@ namespace NBF
|
||||
// transform.rotation = Rod.lineHandler.LineConnector_2.transform.rotation; // 确保旋转也同步
|
||||
// SetParent(Rod.lineHandler.LineConnector_2.transform);
|
||||
|
||||
var node = Rod.Line.GetLogicalNode(FishingLineNode.NodeType.Tail);
|
||||
SetParent(node.transform);
|
||||
|
||||
SetParent(Rod.Line.Lure.transform);
|
||||
// SetParent(Rod.Line.Lure.transform);
|
||||
transform.localPosition = Vector3.zero;
|
||||
|
||||
// var target = lineHandler.LineConnector_2.GetComponent<Rigidbody>();
|
||||
|
||||
Reference in New Issue
Block a user