Browse Source

Add new Joint constructors;

bjorn 1 year ago
parent
commit
dcdfd9eb62
2 changed files with 4 additions and 0 deletions
  1. 2 0
      api/init.lua
  2. 2 0
      api/lovr/physics/Joint/init.lua

+ 2 - 0
api/init.lua

@@ -37621,7 +37621,9 @@ return {
           key = "Joint",
           module = "lovr.physics",
           constructors = {
+            "lovr.physics.newWeldJoint",
             "lovr.physics.newBallJoint",
+            "lovr.physics.newConeJoint",
             "lovr.physics.newDistanceJoint",
             "lovr.physics.newHingeJoint",
             "lovr.physics.newSliderJoint"

+ 2 - 0
api/lovr/physics/Joint/init.lua

@@ -2,7 +2,9 @@ return {
   summary = 'Joins two Colliders together.',
   description = 'A Joint is a physics object that constrains the movement of two Colliders.',
   constructors = {
+    'lovr.physics.newWeldJoint',
     'lovr.physics.newBallJoint',
+    'lovr.physics.newConeJoint',
     'lovr.physics.newDistanceJoint',
     'lovr.physics.newHingeJoint',
     'lovr.physics.newSliderJoint'