aboutsummaryrefslogtreecommitdiff
path: root/scripts/movement.gd
diff options
context:
space:
mode:
authorjacopograndi <jacopo.grandi@outlook.it>2022-01-17 19:41:46 +0100
committerjacopograndi <jacopo.grandi@outlook.it>2022-01-17 19:41:46 +0100
commitf75ee64e21f67b4f27404147aedaa63750058d5a (patch)
tree8e35f5b0ca986169e46ef1f90c3fdd951a9af113 /scripts/movement.gd
parenta7bda4264b45c0c64fd81ac91b4f1fbbc539e314 (diff)
wave
Diffstat (limited to 'scripts/movement.gd')
-rw-r--r--scripts/movement.gd13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/movement.gd b/scripts/movement.gd
index 51deffd..da4227e 100644
--- a/scripts/movement.gd
+++ b/scripts/movement.gd
@@ -13,22 +13,9 @@ var _pivot
var _pivot_dist
var _orbit_timer
-var _turret_holder : Node
-var _attach_point_holder : Node
-var path_holder : Node
-var load_turrets : Node
-
-var _enemies : Node
-
func _ready():
camera = $camera
placer = $placer
-
- var root = get_tree().root.get_node("world")
-
- path_holder = root.get_node("path")
- _enemies = root.get_node("enemies")
-
func look_free (m):
self.transform.basis = self.transform.basis.rotated(Vector3.UP, m.x)