给线加入风力和空气阻力相关逻辑

This commit is contained in:
2026-02-25 00:07:57 +08:00
parent 3affe183f7
commit b41ee35cd4
11 changed files with 264 additions and 92 deletions

View File

@@ -51,12 +51,19 @@ namespace NBF
}
private void Update()
{
}
private void LateUpdate()
{
UpdateMove();
Fsm?.Update();
Data.EyeAngle = GameUtils.GetVerticalAngle(transform, FppLook);
}
private void OnDestroy()
{

View File

@@ -67,7 +67,7 @@ namespace NBF
// Debug.Log($"addNum={addNum}");
Player.ModelAsset.PlayerAnimator.FishingUp += addNum;
Debug.LogError($"ishingFinal={Player.ModelAsset.PlayerAnimator.FishingUp}");
// Debug.LogError($"ishingFinal={Player.ModelAsset.PlayerAnimator.FishingUp}");
if (Player.ModelAsset.PlayerAnimator.FishingUp >= 1)
{
Player.ModelAsset.PlayerAnimator.FishingUp = 1;