Browse Source

Collider fixes;

bjorn 7 năm trước cách đây
mục cha
commit
005b012eed

+ 3 - 3
api/init.lua

@@ -9585,8 +9585,8 @@ return {
         },
         {
           name = "Collider",
-          summary = "A single entity in the simultion.",
-          description = "Colliders are objects that represent a single rigid body in the physics simulation.  They can have forces applied to them and collide with other colliders.",
+          summary = "A single entity in a physics simulation.",
+          description = "Colliders are objects that represent a single rigid body in a physics simulation.  They can have forces applied to them and collide with other colliders.",
           key = "Collider",
           module = "lovr.physics",
           methods = {
@@ -9976,7 +9976,7 @@ return {
             },
             {
               name = "getLinearVelocityFromWorldPoint",
-              summary = "Get the linear velocity the Collider at a world space point.",
+              summary = "Get the linear velocity of the Collider at a world space point.",
               description = "Returns the linear velocity of a point on the Collider specified in world space.",
               key = "Collider:getLinearVelocityFromWorldPoint",
               module = "lovr.physics",

+ 1 - 1
api/lovr/physics/Collider/getLinearVelocityFromWorldPoint.lua

@@ -1,5 +1,5 @@
 return {
-  summary = 'Get the linear velocity the Collider at a world space point.',
+  summary = 'Get the linear velocity of the Collider at a world space point.',
   description = [[
     Returns the linear velocity of a point on the Collider specified in world space.
   ]],

+ 2 - 2
api/lovr/physics/Collider/init.lua

@@ -1,7 +1,7 @@
 return {
-  summary = 'A single entity in the simultion.',
+  summary = 'A single entity in a physics simulation.',
   description = [[
-    Colliders are objects that represent a single rigid body in the physics simulation.  They can
+    Colliders are objects that represent a single rigid body in a physics simulation.  They can
     have forces applied to them and collide with other colliders.
   ]],
   constructors = {