Browse Source

Update newMeshCollider words;

bjorn 5 days ago
parent
commit
85f299fe25
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/physics/World/newMeshCollider.lua

+ 1 - 1
api/init.lua

@@ -39641,7 +39641,7 @@ return {
             {
             {
               name = "newMeshCollider",
               name = "newMeshCollider",
               summary = "Add a Collider with a MeshShape to the World.",
               summary = "Add a Collider with a MeshShape to the World.",
-              description = "Adds a Collider to the world and attaches a `MeshShape`.\n\nColliders with mesh shapes are immobile and can only be used for static environment objects. The collider will be kinematic and forces/velocities will not move it.  Also, these colliders will not detect collisions with other kinematic objects.\n\nMeshShapes are not treated as solid objects, but instead a collection of triangles.  They do not have mass or volume, and there is no concept of being \"inside\" a mesh.  `ConvexShape` is a good alternative for solid objects with an arbitrary shape.",
+              description = "Adds a Collider to the world and attaches a `MeshShape`.\n\nColliders with mesh shapes are immobile and can only be used for static environment objects. The collider will be kinematic and forces/velocities will not move it.  Also, these colliders will not detect collisions with other kinematic objects.\n\nMeshShapes are not treated as solid objects, but instead a collection of triangles.  They do not have mass or volume, and there is no concept of being \"inside\" a mesh.  `ConvexShape` is a good alternative for making solid objects.",
               key = "World:newMeshCollider",
               key = "World:newMeshCollider",
               module = "lovr.physics",
               module = "lovr.physics",
               notes = "The triangles in a MeshShape should use counterclockwise winding.",
               notes = "The triangles in a MeshShape should use counterclockwise winding.",

+ 1 - 1
api/lovr/physics/World/newMeshCollider.lua

@@ -9,7 +9,7 @@ return {
 
 
     MeshShapes are not treated as solid objects, but instead a collection of triangles.  They do not
     MeshShapes are not treated as solid objects, but instead a collection of triangles.  They do not
     have mass or volume, and there is no concept of being "inside" a mesh.  `ConvexShape` is a good
     have mass or volume, and there is no concept of being "inside" a mesh.  `ConvexShape` is a good
-    alternative for solid objects with an arbitrary shape.
+    alternative for making solid objects.
   ]],
   ]],
   arguments = {
   arguments = {
     vertices = {
     vertices = {