Bezi回来了

This commit is contained in:
SoulliesOfficial
2026-04-28 15:46:32 -04:00
parent 7379583165
commit 0902ca8a9e
56 changed files with 3285 additions and 3803 deletions

View File

@@ -159,7 +159,12 @@ namespace Cielonos.MainGame.Characters.Inventory
comboSm?[comboTreeName].SuspendThenSetup(actionCoolDownTime);
if (target != null)
{
if (autoRotate) player.landMovementSc.TurnToTarget(target);
if (autoRotate)
{
float angleLimit = player.viewSc.lockTargetModule.isLocking ? 240 : 150;
player.landMovementSc.SmartTurnToTarget(target, angleLimit);
}
if (keepAdsorption)
{
funcAnimSm.currentRuntimeFuncAnim.AddUpdateEvent(new SetRootAdsorptionAdjustment.Keep(target, adsorptionMinDistance));
@@ -185,13 +190,15 @@ namespace Cielonos.MainGame.Characters.Inventory
Debug.LogWarning($"没有找到名为 'Camera' 的轨道,请检查 FeedbackData '{feedBackName}' 的设置。");
return;
}
if (cameraTrack.clips.Find(clip => clip.action is CameraPositionShakeAction)?.action is CameraPositionShakeAction positionShakeAction)
var positionShakeAction = feedBackData.Action<CameraPositionShakeAction>("Camera");
if (positionShakeAction != null)
{
positionShakeAction.amplitude = swingPosition;
}
if (cameraTrack.clips.Find(clip => clip.action is CameraRotationShakeAction)?.action is CameraRotationShakeAction rotationShakeAction)
var rotationShakeAction = feedBackData.Action<CameraRotationShakeAction>("Camera");
if (rotationShakeAction != null)
{
rotationShakeAction.amplitude = swingRotation;
}