JointPulleyFinish

Family: 2DPhysics · One form

What it does

JointPulleyFinish takes gnd1x (a float), gnd1y (a float), gnd2x (a float), gnd2y (a float), a1x (a float), a1y (a float), a2x (a float) and a2y (a float), and answers an integer.

Syntax

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

Parameters

NameType
gnd1xfloat
gnd1yfloat
gnd2xfloat
gnd2yfloat
a1xfloat
a1yfloat
a2xfloat
a2yfloat

Every form returns

integer

Example · generated

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

JointPulleyFinish is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

66 commands in 2DPhysics