Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | sketxz | |
Old Version | Published before Godot 3 was released. |
I am trying to move the camera using the arrow keys but the _input and the _process functions have no effect.
func _process(delta):
var curPos = get_node("Camera").get_transform()
if Input.is_action_pressed("ui_up"):
curPos.y += 1000
get_node("Camera").set_transform(curPos)