소스 검색

:wrench: Disable axis control

Was annoying becaus mouse is considered to send axis input.
DricomDragon 1 년 전
부모
커밋
d99e81cbad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netnet/component/entity/jumper/jumper_input.gd

+ 1 - 1
netnet/component/entity/jumper/jumper_input.gd

@@ -31,7 +31,7 @@ func _process(delta: float) -> void:
 
 func _new_direction() -> Vector2:
 	var new_dir := Vector2.ZERO
-	new_dir += _direction_from_axis()
+	#new_dir += _direction_from_axis()
 	new_dir += _direction_from_keys()
 
 	if new_dir == Vector2.ZERO: