Files
RCBASIC4/doc/files/createdistancejoint.html
2024-12-14 15:28:03 -05:00

37 lines
775 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>createDistanceJoint [RCBasic Doc] </title>
</head>
<body>
<p><h2>function createDistanceJoint( spriteA, spriteB, aX, aY, bX, bY, collide_connect) </h2></p>
<p>
Creates a distance joint
</p>
<p>
A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod.
</p>
<p>
Parameters
</p>
<ul>
<li>
spriteA - first body
</li>
<li>
spriteB - second body
</li>
<li>
aX, aY - Anchor point on spriteA
</li>
<li>
bX, bY - Anchor point on spriteB
</li>
</ul>
<p>
</body>
</html>