rescaled ladekastje en nixie

This commit is contained in:
2023-02-02 21:06:09 +01:00
parent 8e6b0784e5
commit 504e9501fa
8 changed files with 41 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
extends Node3D
var secret
func _ready():
secret = randi() % 10000
#$".."/CombiCode.mesh.text = "%04d" % combination #met leading 0'en
func _on_static_body_3d_input_event(camera, event, position, normal, shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
$Kast/Drawer.position.z = abs($Kast/Drawer.position.z - 1.0)