FPS Controller

This commit is contained in:
2025-11-13 08:05:46 -05:00
parent c6e4d4f725
commit 14000f0096
177 changed files with 6311 additions and 7 deletions

24
demo/scenes/wall.tscn Normal file
View File

@@ -0,0 +1,24 @@
[gd_scene load_steps=4 format=3 uid="uid://dvgdgi3jrhrvt"]
[ext_resource type="Script" uid="uid://cs057402w7w17" path="res://assets/scripts/destructable/camera.gd" id="1_2ktk7"]
[ext_resource type="Script" uid="uid://42cwsrh6jyns" path="res://assets/scripts/destructable/destructable_wall.gd" id="2_e00m8"]
[sub_resource type="Environment" id="Environment_ig7tw"]
[node name="Node3D" type="Node3D"]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.8192555, 0.5717188, 0.044250764, -0.5075839, 0.7589243, -0.40791288, -0.2667944, 0.31172383, 0.91194814, 0, 0.54785013, 6.354968)
shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_ig7tw")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.546, 1, 1.6508019)
current = true
script = ExtResource("1_2ktk7")
[node name="Wall" type="Node3D" parent="."]
script = ExtResource("2_e00m8")
outer_polygon = PackedVector2Array(0, 2, 2, 2, 2, 0, 0, 0)