Added sprite shape functions
This commit is contained in:
37
doc/doc_files/createdistancejoint.html
Normal file
37
doc/doc_files/createdistancejoint.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user