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,20 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>createPulleyJoint [RCBasic Doc] </title>
</head>
<body>
<p><h2>function createPulleyJoint( spriteA, spriteB, gaX, gaY, gbX, gbY, aX, aY, bX, bY, j_ratio, collide_connect) </h2></p>
<p>
Creates a pulley joint
</p>
<p>
The pulley joint is connected to two bodies and two fixed ground points. The pulley supports a ratio such that: length1 + ratio * length2 <= constant Yes, the force transmitted is scaled by the ratio. Warning: the pulley joint can get a bit squirrelly by itself. They often work better when combined with prismatic joints. You should also cover the the anchor points with static shapes to prevent one side from going to zero length.
</p>
<p>
</body>
</html>