Enemies are spheres now cause fuck off.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
extends KinematicBody
|
||||
|
||||
onready var animation_player = $AnimationPlayer
|
||||
|
||||
var hit_acceleration = 10
|
||||
var hit_speed = 100
|
||||
@@ -21,5 +20,7 @@ func _physics_process(delta):
|
||||
move_and_slide(movement, Vector3.UP)
|
||||
|
||||
func get_slapped(slap_level, slap_vector):
|
||||
animation_player.play("head_wobble")
|
||||
direction = slap_vector
|
||||
|
||||
func get_shot():
|
||||
queue_free()
|
||||
|
||||
Reference in New Issue
Block a user