Added sprite shape functions

This commit is contained in:
n00b
2025-03-20 17:29:11 -04:00
parent b6b1ecf86f
commit 14f87ecbf1
197 changed files with 5576 additions and 1203 deletions

View 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>