fix issue #923 for native Bullet

This commit is contained in:
Stephen Gold 2018-10-30 01:30:49 -07:00
parent a8b2ad0869
commit 21454f2ab2

View File

@ -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