Merge pull request #180 from Utlaen/patch-1

PhysicsCollisionEvent getPositionWorldOnA() stack overflow
experimental
normen 10 years ago
commit 1992da3471
  1. 2
      jme3-bullet/src/main/java/com/jme3/bullet/collision/PhysicsCollisionEvent.java

@ -229,7 +229,7 @@ public class PhysicsCollisionEvent extends EventObject {
}
public Vector3f getPositionWorldOnA(Vector3f positionWorldOnA) {
getPositionWorldOnA(positionWorldOnA);
getPositionWorldOnA(manifoldPointObjectId, positionWorldOnA);
return positionWorldOnA;
}
private native void getPositionWorldOnA(long manifoldPointObjectId, Vector3f positionWorldOnA);

Loading…
Cancel
Save