Added sprite shape functions
This commit is contained in:
34
doc/doc_files/createfrictionjoint.html
Normal file
34
doc/doc_files/createfrictionjoint.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>createFrictionJoint [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>function createFrictionJoint( spriteA, spriteB, x, y, collide_connect) </h2></p>
|
||||
<p>
|
||||
Creates a Friction Joint
|
||||
</p>
|
||||
<p>
|
||||
Friction joint. This is used for top-down friction. It provides 2D translational friction and angular friction.
|
||||
</p>
|
||||
<p>
|
||||
Parameters
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
spriteA - first body
|
||||
</li>
|
||||
<li>
|
||||
spriteB - second body
|
||||
</li>
|
||||
<li>
|
||||
x, y - Anchor point. A common world-space point where the friction forces will be applied on both bodies. This is usually set to the point where you want the bodies to "grip" or resist slipping relative to each other.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user