adde compound command calling for multi input control; added notes on dot product; testing stuff in skunk works folder
This commit is contained in:
+3
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user