소스 검색

Mention cone and weld in related joints section

Josip Miskovic 4 달 전
부모
커밋
00378e1de7
4개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 1
      api/lovr/physics/newBallJoint.lua
  2. 3 1
      api/lovr/physics/newDistanceJoint.lua
  3. 3 1
      api/lovr/physics/newHingeJoint.lua
  4. 3 1
      api/lovr/physics/newSliderJoint.lua

+ 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'
   }
 }