adde compound command calling for multi input control; added notes on dot product; testing stuff in skunk works folder

This commit is contained in:
2026-11-05 20:47:05 -06:00
parent 7548fe8549
commit 6308ccb4fa
11 changed files with 385 additions and 108 deletions
+3 -4
View File
@@ -20,13 +20,12 @@ func _ready() -> void:
pass
#func _process(delta: float) -> void:
#var action = controller.process(delta)
#var action: Globals.CompoundCommand = controller.process(delta)
#if action:
#control_frame.do_action(action, delta, self)
func _physics_process(delta: float) -> void:
var action: Globals.ControllerCommand = controller.process(delta)
var action: Globals.CompoundCommand = controller.process(delta)
if action:
control_frame.do_action(action, delta, self)
@@ -34,7 +33,7 @@ func _physics_process(delta: float) -> void:
move_and_slide()
#func _unhandled_input(event: InputEvent) -> void:
#var action = controller.unhandled_input(event)
#var action: Globals.CompoundCommand = controller.unhandled_input(event)
#if not action: return
func set_model(model: Node) -> void: