Преглед изворни кода

Update walking_character.adoc

Fixed broken new lines.
mitm001 пре 9 година
родитељ
комит
bfba21df49
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/docs/asciidoc/jme3/advanced/walking_character.adoc

+ 4 - 2
src/docs/asciidoc/jme3/advanced/walking_character.adoc

@@ -100,7 +100,8 @@ a| CharacterControl Method
 a| Property 
 
 a| setUpAxis(1)
-a| Fixed upward axis. Values: 0 = X axis , 1 = Y axis , 2 = Z axis. +Default: 1, because for characters and vehicles, up is typically along the Y axis.
+a| Fixed upward axis. Values: 0 = X axis , 1 = Y axis , 2 = Z axis. +
+Default: 1, because for characters and vehicles, up is typically along the Y axis.
 
 a| setJumpSpeed(10f) 
 a| Jump speed (movement along upward-axis) 
@@ -115,7 +116,8 @@ a| How steep the slopes and steps are that the character can climb without consi
 a| The intensity of gravity for this CharacterControl'ed entity. Tip: To change the direction of gravity for a character, modify the up axis.
 
 a| setWalkDirection(new Vector3f(0f,0f,0.1f))
-a| (CharacterControl only) Make a physical character walk continuously while checking for floors and walls as solid obstacles. This should probably be called “setPositionIncrementPerSimulatorStep. This argument is neither a direction nor a velocity, but the amount to increment the position each physics tick: vector length = accuracy*speed in m/s. +Use `setWalkDirection(Vector3f.ZERO)` to stop a directional motion. 
+a| (CharacterControl only) Make a physical character walk continuously while checking for floors and walls as solid obstacles. This should probably be called “setPositionIncrementPerSimulatorStep. This argument is neither a direction nor a velocity, but the amount to increment the position each physics tick: vector length = accuracy*speed in m/s. +
+Use `setWalkDirection(Vector3f.ZERO)` to stop a directional motion. 
 
 |===