Guest User

Untitled

a guest
Oct 19th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. -- calcule les vecteurs depuis un angle
  2. function calcul_vx_vy()
  3. balle.vx=balle.vitesse*math.cos(math.rad(balle.angle))
  4. balle.vy=balle.vitesse*math.sin(math.rad(balle.angle))
  5. end
  6. -- Fin de la fonction vecteurs
Add Comment
Please, Sign In to add comment