ft: made sprite behaviour consistent across entities
This commit is contained in:
@@ -5,6 +5,7 @@ var dir = Vector3(1, 1, 0)
|
||||
|
||||
func enter(previous_state_path: String, data := {}) -> void:
|
||||
timer.start((float)(randi() % 5)/5)
|
||||
owner.play_sprite(owner.idle_sprite)
|
||||
|
||||
func physics_update(_delta: float) -> void:
|
||||
owner.move(_delta * Vector3(randfn(0, 1), randfn(0, 1), 0), 1)
|
||||
|
||||
Reference in New Issue
Block a user