From 007b07c16b588f380b4942da93a528e6e21706e8 Mon Sep 17 00:00:00 2001 From: dav74 Date: Sun, 6 Jul 2014 18:08:00 +0200 Subject: [PATCH] Update threex.oimo.js --- threex.oimo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threex.oimo.js b/threex.oimo.js index adc1a9e..995dbbc 100644 --- a/threex.oimo.js +++ b/threex.oimo.js @@ -14,7 +14,7 @@ THREEx.Oimo.createBodyFromMesh = function(world, mesh, move){ // TODO this move parameter is crap, remove it move = move !== undefined ? move : true console.assert( mesh instanceof THREE.Mesh ) - if( mesh.geometry instanceof THREE.CubeGeometry ){ + if( mesh.geometry instanceof THREE.BoxGeometry ){ var body = new OIMO.Body({ type :'box', size : [