고정각도 회전

This commit is contained in:
2026-07-23 15:41:47 +09:00
parent 74d72f675a
commit f83646b613
5 changed files with 38 additions and 1 deletions

View File

@@ -33,6 +33,13 @@ public class DialogNode : ScriptableObject
[Header("Behavior")]
public bool LookAtPlayer;
public bool ForcePlayerLook; // true면 이 대사 시작 시 플레이어(카메라)가 화자를 바라보도록 리그를 회전
[Tooltip("켜면 이 대사 시작 시 화자를 아래 Fixed Angle Y(월드 Y각)로 고정 회전한다. " +
"특정 각도에서만 자연스러운 제스처/애니메이션용. 대화 종료 시 원래 각도로 복원")]
public bool UseFixedAngle;
[Tooltip("UseFixedAngle이 켜졌을 때 화자가 향할 월드 Y 회전(도). 0 = +Z(월드 forward), 90 = +X 방향")]
public float FixedAngleY;
public bool WaitForInput; // true면 LineDuration 무시하고 B버튼(OnDialogNext) 입력까지 대기
public bool StagingOnly; // true면 대화창을 숨기고 연출(회전·제스처·VFX·이벤트·대기)만 수행