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.
53 lines
1.8 KiB
Plaintext
Executable File
53 lines
1.8 KiB
Plaintext
Executable File
[gd_scene format=3 uid="uid://be6ufrc3dsjge"]
|
|
|
|
[ext_resource type="Script" uid="uid://c12tpdqhr2l5" path="res://poi.gd" id="1_gwpk6"]
|
|
[ext_resource type="Texture2D" uid="uid://c3ajv7vb8c4fb" path="res://assets/debug/checkerboard.png" id="2_yof6k"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_gwpk6"]
|
|
radius = 0.8699188
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_0surh"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_yof6k")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_gwpk6"]
|
|
size = Vector3(0.8, 2.132, 2.333828)
|
|
|
|
[node name="POI" type="Area3D" unique_id=1770000468]
|
|
script = ExtResource("1_gwpk6")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=2115487742]
|
|
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]
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=461988177]
|
|
transform = Transform3D(0.6, 0, 0, 0, 0.6, 0, 0, 0, 0.6, 0, 0, -0.69380605)
|
|
shape = SubResource("BoxShape3D_gwpk6")
|
|
|
|
[node name="Billboard" type="Node3D" parent="." unique_id=36237536]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
|
|
|
|
[node name="NameLabel" type="Label3D" parent="Billboard" unique_id=1419647885]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
|
|
billboard = 1
|
|
text = "???"
|
|
font_size = 16
|
|
|
|
[node name="InteractionPrompt" type="Label3D" parent="Billboard" unique_id=2059219662]
|
|
visible = false
|
|
billboard = 1
|
|
font_size = 12
|