summaryrefslogtreecommitdiff
path: root/work/backup_stuff/PlayerOld.tscn
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-30 11:20:16 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-30 11:20:16 -0400
commit4a17fde692b900393d796675bcf7011aa7399dad (patch)
tree5305dba808a7094192821736a379168cdb549843 /work/backup_stuff/PlayerOld.tscn
parent7a1d857de96174dfa5a0fa40f8c14acbd2f651c2 (diff)
syncing off main
Diffstat (limited to 'work/backup_stuff/PlayerOld.tscn')
-rw-r--r--work/backup_stuff/PlayerOld.tscn37
1 files changed, 37 insertions, 0 deletions
diff --git a/work/backup_stuff/PlayerOld.tscn b/work/backup_stuff/PlayerOld.tscn
new file mode 100644
index 0000000..f79339e
--- /dev/null
+++ b/work/backup_stuff/PlayerOld.tscn
@@ -0,0 +1,37 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://backup_stuff/player_controller.gd" type="Script" id=1]
+
+[sub_resource type="BoxShape" id=1]
+extents = Vector3( 0.325, 0.9, 0.325 )
+
+[node name="Player" type="KinematicBody" groups=["units"]]
+script = ExtResource( 1 )
+cam_path = NodePath("Camera")
+jump_height = 2.0
+fly_speed = 10
+
+[node name="CollisionBox" type="CollisionShape" parent="."]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0 )
+shape = SubResource( 1 )
+
+[node name="Camera" type="Camera" parent="."]
+transform = Transform( 1, 0, 0, 0, 0.999973, -0.00740013, 0, 0.00740013, 0.999973, 0, 1.5, 0 )
+cull_mask = 524287
+near = 0.15
+far = 8192.0
+
+[node name="UseRay" type="RayCast" parent="Camera"]
+enabled = true
+cast_to = Vector3( 0, 0, -2.5 )
+collision_mask = 131075
+collide_with_areas = true
+
+[node name="MeleeRay" type="RayCast" parent="Camera"]
+enabled = true
+cast_to = Vector3( 0, 0, -100 )
+collision_mask = 262145
+collide_with_areas = true
+
+[node name="TugPoint" type="Spatial" parent="."]
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.30489, -1.57084 )