Browse Source

Corrige erreur de signe

Il faut une vitesse y negative pour monter.
DricomDragon 11 months ago
parent
commit
fb91ac3cff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      godot/composants/objets/balle/balle.gd

+ 1 - 1
godot/composants/objets/balle/balle.gd

@@ -37,7 +37,7 @@ func _orienter_tir(raquette: Raquette) -> void:
 	
 	# empeche la balle de traverser la raquette
 	if _mouvement.y > 0:
-		_mouvement.y = ascension_min
+		_mouvement.y = -ascension_min
 
 
 func _auto_detruire() -> void: