Files
RCBASIC4/doc/doc_files/createprismaticjoint.html
2026-02-26 15:33:51 -06:00

38 lines
930 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>CreatePrismaticJoint [RCBasic Doc] </title>
</head>
<body>
<p><h2>Function CreatePrismaticJoint( spriteA, spriteB, aX, aY, axisX, axisY, collide_connect) </h2></p>
<p>
Creates a Prismatic Joint
</p>
<p>
A prismatic joint. This joint provides one degree of freedom: translation along an axis fixed in bodyA. Relative rotation is prevented. You can use a joint limit to restrict the range of motion and a joint motor to drive the motion or to model joint friction.
</p>
<p>
Parameters
</p>
<ul>
<li>
spriteA - first body
</li>
<li>
spriteB - second body
</li>
<li>
aX, aY - anchor point
</li>
<li>
axisX, axisY - Used to define a linear direction from anchor point
</li>
</ul>
<p>
</p>
</body>
</html>