From 7542509c605363f09e67f6bb60157b14de0651db Mon Sep 17 00:00:00 2001 From: Zakarya Date: Mon, 9 Oct 2023 19:25:22 -0700 Subject: [PATCH] Objects are generated with rotation --- scripts/world.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/world.gd b/scripts/world.gd index b05ec79..df27da0 100644 --- a/scripts/world.gd +++ b/scripts/world.gd @@ -17,4 +17,5 @@ func _ready(): var this_object = load(object).instantiate() this_object.position.x = randf_range(-4000, 4000) this_object.position.y = randf_range(-4000, 4000) + this_object.rotation_degrees = randf_range(0, 360) $objects.add_child(this_object)