Skip to content
Snippets Groups Projects
Commit 9f392988 authored by Louis MALTERRE's avatar Louis MALTERRE
Browse files

perso saute moins haut LM

parent d53db8dc
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ public class Character extends Entity{
direction = (int) Math.signum(vitesseActuX);
}
vitesseActuZ = vitesseActuZ + 8*((1-alpha)*Physique.g - tableCommande.get("CommandZ"))*delta;
vitesseActuZ = vitesseActuZ + 7.5*((1-alpha)*Physique.g - tableCommande.get("CommandZ"))*delta;
//System.out.println(vitesseActuZ);
if (Math.abs(vitesseActuZ) > vitesseMax*500)vitesseActuZ = Math.signum(vitesseActuZ)*vitesseMax*500;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment