|
@@ -31052,7 +31052,7 @@ var BABYLON;
|
|
return this;
|
|
return this;
|
|
};
|
|
};
|
|
SubMesh.prototype._checkCollision = function (collider) {
|
|
SubMesh.prototype._checkCollision = function (collider) {
|
|
- var boundingInfo = this._renderingMesh.getBoundingInfo();
|
|
|
|
|
|
+ var boundingInfo = this.getBoundingInfo();
|
|
return boundingInfo._checkCollision(collider);
|
|
return boundingInfo._checkCollision(collider);
|
|
};
|
|
};
|
|
/**
|
|
/**
|