Browse Source

Adjust MeshShape note;

bjorn 7 months ago
parent
commit
c2b42efe97
2 changed files with 4 additions and 2 deletions
  1. 2 1
      api/init.lua
  2. 2 1
      api/lovr/physics/MeshShape/init.lua

+ 2 - 1
api/init.lua

@@ -39094,7 +39094,8 @@ return {
                 }
               }
             }
-          }
+          },
+          notes = "If a `Collider` contains a MeshShape, it will be forced to become kinematic.  `ConvexShape` can be used instead for dynamic mesh colliders."
         },
         {
           name = "Shape",

+ 2 - 1
api/lovr/physics/MeshShape/init.lua

@@ -3,7 +3,8 @@ return {
   description = 'A type of `Shape` that can be used for triangle meshes.',
   extends = 'Shape',
   notes = [[
-    MeshShape is static. If the collider contains a MeshShape, it will be forced to become static.
+    If a `Collider` contains a MeshShape, it will be forced to become kinematic.  `ConvexShape` can
+    be used instead for dynamic mesh colliders.
   ]],
   constructors = {
     'lovr.physics.newMeshShape',