Recapture the gear portrait and gallery shots
Fix the portrait staging: face the rig toward the camera (the old yaw was 180 degrees out) and hide the focus disc, which was covering the face in close-ups. Add the before/after Influencer portrait, fit measurements and judge scores in docs/screens/realism/2026-11-01-gear. Re-run check_screenshots (11 good/0 bad); headless 229/229.
This commit is contained in:
1 parent
1b319c48b7
commit
151630e957
11 files changed
+204
-4
No files matched your search
@@ -266,8 +266,16 @@ func _stage_portrait(delta: float, angle_deg: float = 0.0) -> bool:
|
||||
look.y = 0.0
|
||||
gm.guard.rotation.y = atan2(-look.x, -look.z)
|
||||
gm.guard.head.rotation.x = deg_to_rad(1.0)
|
||||
# Turn the drawn rig (not the root) so the subject looks at the camera.
|
||||
best.rotation.y = atan2(look.x, look.z)
|
||||
# The focus disc is a gameplay overlay, not part of the character still.
|
||||
for focus in best.find_children("FocusCircle", "MeshInstance3D", true, false):
|
||||
(focus as MeshInstance3D).visible = false
|
||||
# Face the camera: from the subject, the guard lies in the -look direction.
|
||||
# Use the drawn rig so an FSM yaw on the root cannot fight the pose.
|
||||
var rig := best.find_child("Rig", true, false) as Node3D
|
||||
if rig != null:
|
||||
rig.rotation.y = atan2(-look.x, -look.z)
|
||||
else:
|
||||
best.rotation.y = atan2(-look.x, -look.z)
|
||||
|
||||
return true
|
||||
|
||||
|
||||
Reference in new issue
Block a user