ソースを参照

Mention cone and weld in related joints section

Josip Miskovic 4 ヶ月 前
コミット
c5892fbe46

+ 3 - 1
api/lovr/physics/newBallJoint.lua

@@ -55,8 +55,10 @@ return {
     is nil, then the position of the second Collider is the anchor.
   ]],
   related = {
+    'lovr.physics.newConeJoint',
     'lovr.physics.newDistanceJoint',
     'lovr.physics.newHingeJoint',
-    'lovr.physics.newSliderJoint'
+    'lovr.physics.newSliderJoint',
+    'lovr.physics.newWeldJoint'
   }
 }

+ 3 - 1
api/lovr/physics/newDistanceJoint.lua

@@ -71,7 +71,9 @@ return {
   ]],
   related = {
     'lovr.physics.newBallJoint',
+    'lovr.physics.newConeJoint',
     'lovr.physics.newHingeJoint',
-    'lovr.physics.newSliderJoint'
+    'lovr.physics.newSliderJoint',
+    'lovr.physics.newWeldJoint'
   }
 }

+ 3 - 1
api/lovr/physics/newHingeJoint.lua

@@ -72,7 +72,9 @@ return {
   ]],
   related = {
     'lovr.physics.newBallJoint',
+    'lovr.physics.newConeJoint',
     'lovr.physics.newDistanceJoint',
-    'lovr.physics.newSliderJoint'
+    'lovr.physics.newSliderJoint',
+    'lovr.physics.newWeldJoint'
   }
 }

+ 3 - 1
api/lovr/physics/newSliderJoint.lua

@@ -51,7 +51,9 @@ return {
   ]],
   related = {
     'lovr.physics.newBallJoint',
+    'lovr.physics.newConeJoint',
     'lovr.physics.newDistanceJoint',
-    'lovr.physics.newHingeJoint'
+    'lovr.physics.newHingeJoint',
+    'lovr.physics.newWeldJoint'
   }
 }