Răsfoiți Sursa

Corrected error in admonition.

mitm 5 ani în urmă
părinte
comite
2376c858d8
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/docs/asciidoc/jme3/beginner/hello_collision.adoc

+ 2 - 2
src/docs/asciidoc/jme3/beginner/hello_collision.adoc

@@ -128,7 +128,7 @@ public class HelloCollision extends SimpleApplication
 
     // You can change the gravity of individual physics objects before or after
     //they are added to the PhysicsSpace, but it must be set before MOVING the
-    //PhysicsLocation.
+    //physics location.
     player.setGravity(new Vector3f(0,-30f,0));
     player.setPhysicsLocation(new Vector3f(0, 10, 0));
   }
@@ -384,7 +384,7 @@ Finally we put the player in its starting position and update its state – reme
 [IMPORTANT]
 ====
 You can set the gravity before or after adding the object to the physics space,
-but gravity must be set BEFORE moving the physics space itself.
+but gravity must be set BEFORE moving the physics location.
 
 [source, java]
 ----