Billboard POI sprites so they face the camera on rotation

poi.tscn/poi_gate.tscn's AnimatedSprite3D had no billboard mode set
(default: disabled, fixed orientation in world space), so POI markers
would appear to rotate/distort as the step-rotating camera moved
around them. Set billboard = 2 (Y-locked), matching the convention
already used for the player's own AnimatedSprite3D.

Verified headless: POI, Ort1, and GateToCenter instances all report
billboard mode 2 at runtime.
This commit is contained in:
Jonas Reith 2026-08-26 21:32:08 +02:00
parent 72bc3a6553
commit c20d71f043
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.6096671)
shape = SubResource("SphereShape3D_gwpk6")
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="." unique_id=1205831120]
billboard = 2
sprite_frames = SubResource("SpriteFrames_0surh")
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1488376384]

View File

@ -28,6 +28,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.6096671)
shape = SubResource("SphereShape3D_gate")
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
billboard = 2
sprite_frames = SubResource("SpriteFrames_gate")
[node name="StaticBody3D" type="StaticBody3D" parent="."]