enemy now can walk on slopes
This commit is contained in:
parent
81d5c5f0ba
commit
eec69524ee
4 changed files with 35 additions and 20 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue