Explorar o código

Update physics.adoc

Fixed important Admonition to reflect bulletAppState.setDebugEnabled(true); is used for newer versions.
mitm001 %!s(int64=9) %!d(string=hai) anos
pai
achega
cf8a698730
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      src/docs/asciidoc/jme3/advanced/physics.adoc

+ 7 - 1
src/docs/asciidoc/jme3/advanced/physics.adoc

@@ -217,9 +217,15 @@ Pick the simplest and most applicable shape for the mesh for what you want to do
 
 
 [source,java]
 [source,java]
 ----
 ----
+// JME sdk 3.0.10  and earlier
 bulletAppState.getPhysicsSpace().enableDebug(assetManager);
 bulletAppState.getPhysicsSpace().enableDebug(assetManager);
 ----
 ----
-
+or
+[source,java]
+----
+// newer versions
+bulletAppState.setDebugEnabled(true);
+----
 
 
 ====
 ====