Fix table/stairs issues

This commit is contained in:
Jens Pitkänen 2024-08-20 18:16:18 +03:00
parent e5215356f3
commit 4a165756eb
2 changed files with 6 additions and 5 deletions

View File

@ -44,12 +44,13 @@ light_data = ExtResource("2_36ysp")
[node name="HazyEnv" parent="." instance=ExtResource("3_gdvn0")]
[node name="Player" parent="." instance=ExtResource("8_6btor")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58.6119, 24, 3.65156)
[node name="Player" parent="." node_paths=PackedStringArray("Table") instance=ExtResource("8_6btor")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -205.512, -4.76837e-07, 45.9007)
MaxVolumeWindHeight = 60.0
Table = NodePath("../table")
[node name="table" parent="." node_paths=PackedStringArray("Hud", "TrenchbroomMap") instance=ExtResource("10_hcwch")]
transform = Transform3D(-0.0123217, 0, 0.999924, 0, 1, 0, -0.999924, 0, -0.0123217, -58.2601, 24.0011, 0)
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -205.16, -0.00674486, 42.2491)
Hud = NodePath("../HUD")
TrenchbroomMap = NodePath("../StairsMap")
RelativeScale = 0.002
@ -64,7 +65,8 @@ material = SubResource("ShaderMaterial_ltak5")
[node name="HUD" parent="." node_paths=PackedStringArray("Player") instance=ExtResource("8_i25qr")]
Player = NodePath("../Player")
[node name="PauseMenu" parent="." instance=ExtResource("9_cfhxe")]
[node name="PauseMenu" parent="." node_paths=PackedStringArray("Table") instance=ExtResource("9_cfhxe")]
Table = NodePath("../table")
[node name="SubViewport" type="SubViewport" parent="."]
msaa_3d = 3

View File

@ -186,7 +186,6 @@ namespace Gmtk24 {
Visible = true;
ProcessMode = ProcessModeEnum.Pausable;
Position = position;
lookAt.Y = 0;
LookAt(lookAt);
Rotate(Vector3.Up, (float)Math.PI / 2);
}