From 0113b94c6e4dcd9a0d68c9532547e0699394a5f3 Mon Sep 17 00:00:00 2001 From: mikatomik Date: Fri, 23 Sep 2022 23:29:43 -0400 Subject: Import and configure security camera Attempted to add them to the ship.tscn, they moved independently from the ship like the viewports did when we first added them. Not sure what kind of black magic doodle ran to fix this but I'll just leave it at the .tscn setup and ready to use --- ship/camera/security_camera.tscn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ship/camera/security_camera.tscn (limited to 'ship/camera/security_camera.tscn') diff --git a/ship/camera/security_camera.tscn b/ship/camera/security_camera.tscn new file mode 100644 index 0000000..f17c900 --- /dev/null +++ b/ship/camera/security_camera.tscn @@ -0,0 +1,14 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://ship/camera/security_camera.gltf" type="PackedScene" id=1] + +[sub_resource type="BoxShape" id=3] +extents = Vector3( 0.194266, 0.334673, 0.611852 ) + +[node name="security_camera" instance=ExtResource( 1 )] + +[node name="StaticBody" type="StaticBody" parent="base" index="1"] + +[node name="CollisionShape" type="CollisionShape" parent="base/StaticBody" index="0"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.313361, 0.499383 ) +shape = SubResource( 3 ) -- cgit v1.2.3