From d3998186c9795f2a85148cd5bcfa1bd5b6226cfb Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Wed, 31 Aug 2022 00:26:34 -0700 Subject: Initialize repo --- backup_stuff/Player.tscn | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 backup_stuff/Player.tscn (limited to 'backup_stuff/Player.tscn') diff --git a/backup_stuff/Player.tscn b/backup_stuff/Player.tscn new file mode 100644 index 0000000..a68f994 --- /dev/null +++ b/backup_stuff/Player.tscn @@ -0,0 +1,57 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://backup_stuff/Player.gd" type="Script" id=1] + +[sub_resource type="CylinderShape" id=1] +height = 1.8 +radius = 0.4 + +[node name="Player" type="RigidBody"] +mode = 2 +mass = 80.0 +contacts_reported = 1 +contact_monitor = true +axis_lock_angular_x = true +axis_lock_angular_z = true +script = ExtResource( 1 ) +mouse_sensitivity = null +cam_path = null +ai_follower = null +FOV = null +gravity = null +jump_height = null +acceleration = null +walk_speed = null +_airspeed_cap = null +air_control = null +fly_speed = null +fly_accel = null +firing_cooldown = null +snap = null + +[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, -2.5 ) +collision_mask = 262145 +collide_with_areas = true + +[node name="Feet" type="RayCast" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0608446, 0 ) +enabled = true +cast_to = Vector3( 0, -0.25, 0 ) -- cgit v1.2.3