@enable3d/ammo-physics
Advanced tools
Comparing version 0.24.1 to 0.25.0
@@ -317,3 +317,3 @@ /** | ||
if (checkCollisions0 || checkCollisions1) { | ||
const names = [threeObject0.name, threeObject1.name].sort(); | ||
const names = [threeObject0.uuid, threeObject1.uuid].sort(); | ||
const combinedName = `${names[0]}__${names[1]}`; | ||
@@ -406,4 +406,4 @@ if (this.earlierDetectedCollisions.find(el => el.combinedName === combinedName)) | ||
const split = combinedName.split('__'); | ||
const obj0 = this.rigidBodies.find(obj => obj.name === split[0]); | ||
const obj1 = this.rigidBodies.find(obj => obj.name === split[1]); | ||
const obj0 = this.rigidBodies.find(obj => obj.uuid === split[0]); | ||
const obj1 = this.rigidBodies.find(obj => obj.uuid === split[1]); | ||
const event = 'end'; | ||
@@ -410,0 +410,0 @@ if (obj0 && obj1) |
{ | ||
"name": "@enable3d/ammo-physics", | ||
"version": "0.24.1", | ||
"version": "0.25.0", | ||
"description": "Physics Plugin for three.js", | ||
@@ -32,9 +32,9 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@enable3d/common": "^0.24.1", | ||
"@enable3d/three-wrapper": "^0.24.1", | ||
"@enable3d/common": "^0.25.0", | ||
"@enable3d/three-wrapper": "^0.25.0", | ||
"@yandeu/events": "0.0.5" | ||
}, | ||
"peerDependencies": { | ||
"@types/three": "~0.133.1", | ||
"three": "~0.133.1" | ||
"@types/three": "~0.136.0", | ||
"three": "~0.136.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "funding": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Added@enable3d/common@0.25.4(transitive)
+ Added@enable3d/three-wrapper@0.25.4(transitive)
+ Added@types/stats.js@0.17.3(transitive)
+ Added@types/three@0.136.10.156.0(transitive)
+ Added@types/webxr@0.5.20(transitive)
+ Addedfflate@0.6.10(transitive)
+ Addedmeshoptimizer@0.18.1(transitive)
+ Addedthree@0.136.00.156.1(transitive)
- Removed@enable3d/common@0.24.1(transitive)
- Removed@enable3d/three-wrapper@0.24.1(transitive)
- Removed@types/three@0.133.1(transitive)
- Removedthree@0.133.1(transitive)
Updated@enable3d/common@^0.25.0