소스 검색

Fix collision issues when isntances have a multimat

David Catuhe 7 년 전
부모
커밋
d0829f8ba5

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 8049 - 8049
Playground/babylon.d.txt


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2189 - 2189
dist/preview release/babylon.d.ts


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/babylon.js


+ 1 - 1
dist/preview release/babylon.max.js

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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/babylon.worker.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 7264 - 7264
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

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

+ 1 - 1
dist/preview release/customConfigurations/minimalGLTFViewer/es6.js

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

+ 1 - 1
dist/preview release/es6.js

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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
dist/preview release/inspector/babylon.inspector.bundle.js


+ 2 - 7
dist/preview release/typedocValidationBaseline.json

@@ -1,7 +1,7 @@
 {
-  "errors": 7154,
+  "errors": 7153,
   "babylon.typedoc.json": {
-    "errors": 7154,
+    "errors": 7153,
     "AnimationKeyInterpolation": {
       "Enumeration": {
         "Comments": {
@@ -3143,11 +3143,6 @@
             "MissingReturn": true
           }
         },
-        "start": {
-          "Comments": {
-            "MissingReturn": true
-          }
-        },
         "stop": {
           "Comments": {
             "MissingReturn": true

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 9 - 9
dist/preview release/viewer/babylon.viewer.js


+ 1 - 1
dist/preview release/viewer/babylon.viewer.max.js

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

+ 1 - 1
src/Mesh/babylon.subMesh.ts

@@ -153,7 +153,7 @@
         }
 
         public _checkCollision(collider: Collider): boolean {
-            let boundingInfo = this._renderingMesh.getBoundingInfo();
+            let boundingInfo = this.getBoundingInfo();
 
             return boundingInfo._checkCollision(collider);
         }