This commit is contained in:
akshay committed 2022-08-14 19:29:25 -04:00
commit e16d192ba0
15 files changed
+2211 -7

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
extends KinematicBody
const EPSILON = 0.0001
const SPEED = 3.0
const SPEED = 10.0
export var inventory = { "ore" : 0 }
var health: int = 4 setget set_health
+7
View File
@@ -0,0 +1,7 @@
extends Camera
export var target: NodePath
onready var target_node: Spatial = get_node(target)
func _process(delta):
global_transform = global_transform.looking_at(target_node.global_transform.origin, Vector3.UP)