Pārlūkot izejas kodu

Fix collision issues when isntances have a multimat

David Catuhe 7 gadi atpakaļ
vecāks
revīzija
d0829f8ba5

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 8049 - 8049
Playground/babylon.d.txt


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 2189 - 2189
dist/preview release/babylon.d.ts


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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);
         };
         /**

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
dist/preview release/babylon.worker.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 7264 - 7264
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.d.ts


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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);
         };
         /**

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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);
         }