From daf97e7b02a0e0f1bd9cab91b990d45773aab160 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Thu, 15 Sep 2022 20:52:36 -0400 Subject: Add a ship camera (swap with Q) for testing world movement and generation --- Main.tscn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Main.tscn') diff --git a/Main.tscn b/Main.tscn index 495c034..6612a43 100644 --- a/Main.tscn +++ b/Main.tscn @@ -150,6 +150,12 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 9.77011, -3.30323, -29.0883 ) [node name="Float14" parent="ShipRigidBody" instance=ExtResource( 4 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 9.77011, -3.30323, -49.022 ) +[node name="CameraPivot" type="Spatial" parent="ShipRigidBody"] + +[node name="Camera" type="Camera" parent="ShipRigidBody/CameraPivot"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.30045, 0 ) +far = 5000.0 + [node name="crates" type="Spatial" parent="."] [node name="crate" parent="crates" instance=ExtResource( 5 )] -- cgit v1.2.3