Added Terrain3D and Jolt physics
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://dl4vcp04t8iyr" path="res://item/soul/Soul.tscn" id="7_i0rtb"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8lifxuvpchu3" path="res://player/visibility/VisibilityComponent.tscn" id="9_ssc7p"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_s5ct7"]
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_mjr4a"]
|
||||
radius = 0.4
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vjs0t"]
|
||||
@ -61,7 +61,7 @@ script = ExtResource("1_r5888")
|
||||
|
||||
[node name="Collision" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
|
||||
shape = SubResource("SphereShape3D_s5ct7")
|
||||
shape = SubResource("SphereShape3D_mjr4a")
|
||||
|
||||
[node name="HUD" parent="." node_paths=PackedStringArray("health") instance=ExtResource("3_4jtio")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.986405, 0)
|
||||
@ -91,6 +91,7 @@ animation = NodePath("../Animation")
|
||||
drop = ExtResource("7_i0rtb")
|
||||
|
||||
[node name="Visibility" parent="." node_paths=PackedStringArray("health", "hud") instance=ExtResource("9_ssc7p")]
|
||||
wait_time = 1.0
|
||||
health = NodePath("../Health")
|
||||
hud = NodePath("../HUD")
|
||||
physics_distance = 50.0
|
||||
|
Reference in New Issue
Block a user