客户端问题修改

This commit is contained in:
shen
2026-09-07 14:53:36 +08:00
parent b19d5b5dd3
commit 61272b75e9
32 changed files with 1023 additions and 95 deletions
+4 -3
View File
@@ -15,8 +15,8 @@ enum CameraMode {
# ClientVS22 stores camera settings in centimetres/degrees. The Godot scene
# is metres/radians, so keep the conversion at this boundary instead of
# leaking mixed units into the orbit controls.
const DEFAULT_DISTANCE_CM := 1550.0
const DEFAULT_PITCH_DEG := 27.0
const DEFAULT_DISTANCE_CM := 2100.0
const DEFAULT_PITCH_DEG := 34.0
const DEFAULT_ROTATION_DEG := 0.0
const DEFAULT_HEIGHT_CM := 100.0
@@ -74,7 +74,8 @@ const FADE_ALPHA := 0.72 # 挡住玩家时的透明度
var _faded: Array[Node] = [] # 上一帧被淡出的 GeometryInstance3D
func _ready() -> void:
fov = 55.0
# Match the original third-person framing: farther camera and narrower lens.
fov = 45.0
far = 4000.0
_apply_setting(_normal_setting())
if target: