enemy now can walk on slopes

This commit is contained in:
Rendo 2025-07-27 21:11:10 +05:00
commit eec69524ee
4 changed files with 35 additions and 20 deletions

View file

@ -31,7 +31,7 @@ func _process(delta: float) -> void:
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0.97973, 0)
billboard = 2
texture_filter = 0
texture = ExtResource("3_rvsun")
texture = ExtResource("1_7qny8")
script = ExtResource("2_hmq60")
rotations = Dictionary[float, Texture2D]({
0.0: ExtResource("6_d1vpv"),
@ -60,7 +60,7 @@ shape = SubResource("CylinderShape3D_hmq60")
script = ExtResource("10_rvsun")
navigation_agent = NodePath("../NavigationAgent3D")
move_target = NodePath("..")
max_speed = 10.0
max_speed = 2.0
rotation_speed = 0.0872665
[node name="Node" type="Node" parent="Mover"]