Improved camera

This commit is contained in:
2024-02-12 16:58:17 +01:00
parent e7132a50f7
commit 43e0825aff
7 changed files with 59 additions and 7 deletions

View File

@ -5,8 +5,9 @@
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/health/HealthComponent.tscn" id="2_fsqxc"]
[ext_resource type="PackedScene" uid="uid://x102pryt2s5a" path="res://character/movement/MovementComponent.tscn" id="3_2phqx"]
[sub_resource type="BoxShape3D" id="BoxShape3D_x1ppt"]
size = Vector3(0.7, 0.6, 0.7)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ub3kk"]
height = 0.5
radius = 0.35
[sub_resource type="Animation" id="Animation_qls31"]
resource_name = "slime_fall"
@ -37,13 +38,15 @@ _data = {
}
[node name="Slime" type="CharacterBody3D" groups=["enemy"]]
collision_layer = 256
collision_mask = 769
script = ExtResource("1_r5888")
[node name="Model" parent="." instance=ExtResource("1_1h1hj")]
[node name="Collision" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0452515, 0.3, 0)
shape = SubResource("BoxShape3D_x1ppt")
shape = SubResource("CylinderShape3D_ub3kk")
[node name="Animation" type="AnimationPlayer" parent="."]
root_node = NodePath("../Model")