From efd7a8e7e84d1a24918f93f876c5a8342b1879f5 Mon Sep 17 00:00:00 2001 From: phr00t Date: Fri, 10 May 2013 14:13:25 +0000 Subject: [PATCH] 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 --- engine/src/bullet/com/jme3/bullet/PhysicsSpace.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java b/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java index 2b6271aa1..623f8e06f 100644 --- a/engine/src/bullet/com/jme3/bullet/PhysicsSpace.java +++ b/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);