Native bullet will no longer ignore changes to the broadphase type

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10604 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
phr00t 12 years ago
parent e2d1a08838
commit efd7a8e7e8
  1. 3
      engine/src/bullet/com/jme3/bullet/PhysicsSpace.java

@ -150,8 +150,7 @@ public class PhysicsSpace {
* Has to be called from the (designated) physics thread
*/
public void create() {
//TODO: boroadphase!
physicsSpaceId = createPhysicsSpace(worldMin.x, worldMin.y, worldMin.z, worldMax.x, worldMax.y, worldMax.z, 3, false);
physicsSpaceId = createPhysicsSpace(worldMin.x, worldMin.y, worldMin.z, worldMax.x, worldMax.y, worldMax.z, broadphaseType.ordinal(), false);
pQueueTL.set(pQueue);
physicsSpaceTL.set(this);

Loading…
Cancel
Save