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:
parent
72bc3a6553
commit
c20d71f043
1
poi.tscn
1
poi.tscn
@ -28,6 +28,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.6096671)
|
|||||||
shape = SubResource("SphereShape3D_gwpk6")
|
shape = SubResource("SphereShape3D_gwpk6")
|
||||||
|
|
||||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="." unique_id=1205831120]
|
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="." unique_id=1205831120]
|
||||||
|
billboard = 2
|
||||||
sprite_frames = SubResource("SpriteFrames_0surh")
|
sprite_frames = SubResource("SpriteFrames_0surh")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1488376384]
|
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1488376384]
|
||||||
|
|||||||
@ -28,6 +28,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.6096671)
|
|||||||
shape = SubResource("SphereShape3D_gate")
|
shape = SubResource("SphereShape3D_gate")
|
||||||
|
|
||||||
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
|
||||||
|
billboard = 2
|
||||||
sprite_frames = SubResource("SpriteFrames_gate")
|
sprite_frames = SubResource("SpriteFrames_gate")
|
||||||
|
|
||||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user