Julien Barrois 6 years ago
parent
commit
cb892b6794
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Physics/Plugins/babylon.cannonJSPlugin.ts

+ 1 - 1
src/Physics/Plugins/babylon.cannonJSPlugin.ts

@@ -438,7 +438,7 @@ module BABYLON {
                 var oldPivot = mesh.getPivotMatrix();
                 if (oldPivot) {
                     // create a copy the pivot Matrix as it is modified in place
-                    oldPivot = oldPivot.clone()
+                    oldPivot = oldPivot.clone();
                 }
                 else {
                     oldPivot = Matrix.Identity();