We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b86611 commit 8f06fecCopy full SHA for 8f06fec
jme3-jbullet/src/main/java/com/jme3/bullet/objects/PhysicsCharacter.java
@@ -150,10 +150,13 @@ public float getJumpSpeed() {
150
return jumpSpeed;
151
}
152
153
- //does nothing
154
-// public void setMaxJumpHeight(float height) {
155
-// character.setMaxJumpHeight(height);
156
-// }
+ /**
+ * Alter the character's gravitational acceleration without altering its
+ * "up" vector.
+ *
157
+ * @param value the desired downward acceleration (in physics-space units
158
+ * per second squared, default=29.4)
159
+ */
160
public void setGravity(float value) {
161
character.setGravity(value);
162
0 commit comments