37 lines
923 B
HTML
37 lines
923 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>
|
|
|
|
</body>
|
|
</html> |