Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion threex.oimo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 : [
Expand Down