fix issue #923 for native Bullet

accellbaker
Stephen Gold 6 years ago
parent a8b2ad0869
commit 21454f2ab2
  1. 2
      jme3-bullet/src/main/java/com/jme3/bullet/objects/PhysicsRigidBody.java

@ -75,7 +75,7 @@ public class PhysicsRigidBody extends PhysicsCollisionObject {
/**
* joint list
*/
protected ArrayList<PhysicsJoint> joints = new ArrayList<PhysicsJoint>();
protected ArrayList<PhysicsJoint> joints = new ArrayList<PhysicsJoint>(4);
/**
* No-argument constructor needed by SavableClassUtil. Do not invoke

Loading…
Cancel
Save