fix issue with setGravity/getGravity in native bullet

experimental
Normen Hansen 10 years ago
parent 3a3145df09
commit 160cdb9d0d
  1. 2
      jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

@ -683,7 +683,7 @@ public class PhysicsSpace {
* @param gravity
*/
public void setGravity(Vector3f gravity) {
gravity.set(gravity);
this.gravity.set(gravity);
setGravity(physicsSpaceId, gravity);
}

Loading…
Cancel
Save