|
@@ -87,7 +87,7 @@ module BABYLON {
|
|
rot: rotations,
|
|
rot: rotations,
|
|
move: options.mass != 0,
|
|
move: options.mass != 0,
|
|
config: [options.mass, options.friction, options.restitution],
|
|
config: [options.mass, options.friction, options.restitution],
|
|
- world: this.world
|
|
|
|
|
|
+ world: this._world
|
|
});
|
|
});
|
|
|
|
|
|
this._registeredMeshes.push({
|
|
this._registeredMeshes.push({
|
|
@@ -210,7 +210,7 @@ module BABYLON {
|
|
pos1: [pivot1.x, pivot1.y, pivot1.z],
|
|
pos1: [pivot1.x, pivot1.y, pivot1.z],
|
|
collision: options.collision,
|
|
collision: options.collision,
|
|
spring: options.spring,
|
|
spring: options.spring,
|
|
- world: this.world
|
|
|
|
|
|
+ world: this._world
|
|
});
|
|
});
|
|
|
|
|
|
return true;
|
|
return true;
|
|
@@ -276,4 +276,4 @@ module BABYLON {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|