JointPulleyFinish

Famille: 2DPhysics · Une forme

Ce que fait la commande

JointPulleyFinish prend gnd1x (un flottant), gnd1y (un flottant), gnd2x (un flottant), gnd2y (un flottant), a1x (un flottant), a1y (un flottant), a2x (un flottant) et a2y (un flottant), et rend un entier.

Syntaxe

JointPulleyFinish(gnd1x float, gnd1y float, gnd2x float, gnd2y float, a1x float, a1y float, a2x float, a2y float) → integer

Paramètres

NomType
gnd1xfloat
gnd1yfloat
gnd2xfloat
gnd2yfloat
a1xfloat
a1yfloat
a2xfloat
a2yfloat

Chaque forme rend

integer

Exemple · engendré

DO  Print(JointPulleyFinish(1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0))  Sync()LOOP

JointPulleyFinish est appelé et sa réponse est affichée à chaque image. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.

66 commandes dans 2DPhysics