38 lines
782 B
HTML
38 lines
782 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>
|
|
</p>
|
|
|
|
</body>
|
|
</html> |