Moved to pith verbage; CPUController WIP testing
This commit is contained in:
@@ -2,10 +2,10 @@ class_name Player extends Node
|
||||
|
||||
|
||||
func process(_delta: float) -> Globals.ControllerCommand:
|
||||
if Input.is_action_pressed("pull_up"):
|
||||
return Globals.ControllerCommand.PULL_UP
|
||||
if Input.is_action_pressed("push_down"):
|
||||
return Globals.ControllerCommand.PUSH_DOWN
|
||||
if Input.is_action_pressed("pitch_up"):
|
||||
return Globals.ControllerCommand.PITCH_UP
|
||||
if Input.is_action_pressed("pitch_down"):
|
||||
return Globals.ControllerCommand.PITCH_DOWN
|
||||
if Input.is_action_pressed("yaw_left"):
|
||||
return Globals.ControllerCommand.YAW_LEFT
|
||||
if Input.is_action_pressed("yaw_right"):
|
||||
|
||||
Reference in New Issue
Block a user